1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-23 09:23:02 +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); wattroff(ctx->history, A_BOLD);
wprintw(ctx->history, " has left the room\n"); wprintw(ctx->history, " has left the room\n");
wattroff(ctx->history, COLOR_PAIR(RED)); wattroff(ctx->history, COLOR_PAIR(RED));
if (groupchats[self->num].side_pos > 0)
--groupchats[self->num].side_pos;
break; break;
case TOX_CHAT_CHANGE_PEER_NAME: case TOX_CHAT_CHANGE_PEER_NAME:
wattron(ctx->history, COLOR_PAIR(MAGENTA)); wattron(ctx->history, COLOR_PAIR(MAGENTA));