1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-26 21:03:27 +01:00
oops

oops
This commit is contained in:
Jfreegman 2013-09-02 05:16:54 -04:00
parent ed68350424
commit dbe84898b9

View File

@ -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);
} }
} }
} }