mirror of
https://github.com/Tha14/toxic.git
synced 2025-06-20 11:26:35 +02:00
forgot to init
This commit is contained in:
@ -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'};
|
||||||
|
Reference in New Issue
Block a user