net await now doas not display
This commit is contained in:
@@ -19,12 +19,12 @@ unsigned short ever_created_text_nodes = 0;
|
||||
|
||||
unsigned short getTextNodeY2(TextNode *node)
|
||||
{
|
||||
return node.pos_y + node.characterSize.height - 1;
|
||||
return node->pos_y + node->characterSize.height - 1;
|
||||
}
|
||||
|
||||
unsigned short getTextNodeX2(TextNode *node)
|
||||
{
|
||||
return node.pos_x + node.characterSize.width * node.character_count + node.character_count - 1;
|
||||
return node->pos_x + node->characterSize.width * node->character_count + node->character_count - 1;
|
||||
}
|
||||
|
||||
void addNewTextNode
|
||||
@@ -45,11 +45,11 @@ void addNewTextNode
|
||||
text_nodes[i].pos_x = pos_x;
|
||||
text_nodes[i].pos_y = pos_y;
|
||||
|
||||
const unsigned short = getTextNodeX2(&(text_nodes)[i]);
|
||||
const unsigned short pos_x2 = getTextNodeX2(&(text_nodes)[i]);
|
||||
|
||||
if (pos_x2 > PANEL_MAX_X)
|
||||
{
|
||||
text_node[i].pos_x -= pos_x2 - PANEL_MAX_X;
|
||||
text_nodes[i].pos_x -= pos_x2 - PANEL_MAX_X;
|
||||
}
|
||||
|
||||
text_nodes[i].characterSize.height = is_small ? SMALL_TEXT_HEIGHT : MEDIUM_TEXT_HEIGHT;
|
||||
|
||||
Reference in New Issue
Block a user