mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 22:53:28 +01:00
forgot to init
This commit is contained in:
parent
9bf9dbe875
commit
dd6a558a62
@ -655,6 +655,7 @@ void prompt_init_statusbar(ToxWindow *self, Tox *m)
|
|||||||
/* Init statusbar info */
|
/* Init statusbar info */
|
||||||
StatusBar *statusbar = (StatusBar *) self->s;
|
StatusBar *statusbar = (StatusBar *) self->s;
|
||||||
statusbar->status = TOX_USERSTATUS_NONE;
|
statusbar->status = TOX_USERSTATUS_NONE;
|
||||||
|
statusbar->is_online = false;
|
||||||
statusbar->max_len = x;
|
statusbar->max_len = x;
|
||||||
|
|
||||||
uint8_t nick[TOX_MAX_NAME_LENGTH] = {'\0'};
|
uint8_t nick[TOX_MAX_NAME_LENGTH] = {'\0'};
|
||||||
|
Loading…
Reference in New Issue
Block a user