1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 23:26:35 +01:00

properly handle invalid statuses

This commit is contained in:
Jfreegman
2014-03-18 05:16:42 -04:00
parent 3ad82cf3b1
commit 8bea44a44c
3 changed files with 13 additions and 2 deletions

View File

@@ -428,6 +428,9 @@ static void friendlist_onDraw(ToxWindow *self, Tox *m)
case TOX_USERSTATUS_BUSY:
colour = RED;
break;
case TOX_USERSTATUS_INVALID:
colour = MAGENTA;
break;
}
wattron(self->window, COLOR_PAIR(colour) | A_BOLD);