mirror of https://github.com/fairyglade/ly.git
init all of text struct in input_text()
This gets rid off valgrind warning on unitialized variables
This commit is contained in:
parent
63d207e2fc
commit
7dc2fb16dd
|
|
@ -115,6 +115,8 @@ void input_text(struct text* target, u64 len)
|
|||
target->end = target->text;
|
||||
target->visible_start = target->text;
|
||||
target->len = len;
|
||||
target->x = 0;
|
||||
target->y = 0;
|
||||
}
|
||||
|
||||
void input_desktop_free(struct desktop* target)
|
||||
|
|
|
|||
Loading…
Reference in New Issue