1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-13 00:53:01 +01:00

small fix

This commit is contained in:
Jfreegman 2013-12-03 05:18:49 -05:00
parent 1a86327f9f
commit 03ef257fdc

View File

@ -194,6 +194,10 @@ static void groupchat_onGroupNamelistChange(ToxWindow *self, Tox *m, int groupnu
wattroff(ctx->history, A_BOLD);
wprintw(ctx->history, " has left the room\n");
wattroff(ctx->history, COLOR_PAIR(RED));
if (groupchats[self->num].side_pos > 0)
--groupchats[self->num].side_pos;
break;
case TOX_CHAT_CHANGE_PEER_NAME:
wattron(ctx->history, COLOR_PAIR(MAGENTA));