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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user