mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 01:23:03 +01:00
oops
oops oops
This commit is contained in:
parent
ed68350424
commit
dbe84898b9
@ -182,7 +182,7 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m)
|
|||||||
|
|
||||||
if (is_online) {
|
if (is_online) {
|
||||||
TOX_USERSTATUS status = tox_get_userstatus(m, friends[i].num);
|
TOX_USERSTATUS status = tox_get_userstatus(m, friends[i].num);
|
||||||
int colour = 3;
|
int colour;
|
||||||
|
|
||||||
switch(status) {
|
switch(status) {
|
||||||
case TOX_USERSTATUS_NONE:
|
case TOX_USERSTATUS_NONE:
|
||||||
@ -208,7 +208,7 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m)
|
|||||||
wprintw(self->window, "(%s)\n", friends[i].statusmsg);
|
wprintw(self->window, "(%s)\n", friends[i].statusmsg);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
wprintw(self->window, "(Offline)\n");
|
wprintw(self->window, "%s (Offline)\n", friends[i].name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user