mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-26 23:03:27 +01:00
small fix
This commit is contained in:
parent
1a86327f9f
commit
03ef257fdc
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user