summaryrefslogtreecommitdiff
path: root/testing/toxic/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/toxic/chat.c')
-rw-r--r--testing/toxic/chat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c
index ef932cd2..57404a59 100644
--- a/testing/toxic/chat.c
+++ b/testing/toxic/chat.c
@@ -123,8 +123,7 @@ static void chat_onStatusChange(ToxWindow *self, int num, uint8_t *status, uint1
123 123
124 status[len - 1] = '\0'; 124 status[len - 1] = '\0';
125 fix_name(status); 125 fix_name(status);
126 snprintf(self->title, sizeof(self->title), "[%s (%d)]", status, num); 126
127
128 wattron(ctx->history, COLOR_PAIR(3)); 127 wattron(ctx->history, COLOR_PAIR(3));
129 wprintw(ctx->history, "* Your partner changed status to '%s'\n", status); 128 wprintw(ctx->history, "* Your partner changed status to '%s'\n", status);
130 wattroff(ctx->history, COLOR_PAIR(3)); 129 wattroff(ctx->history, COLOR_PAIR(3));
@@ -335,7 +334,8 @@ void execute(ToxWindow *self, ChatContext *ctx, Messenger *m, char *cmd)
335 else if (strcmp(ctx->line, "/close") == 0) { 334 else if (strcmp(ctx->line, "/close") == 0) {
336 int f_num = ctx->friendnum; 335 int f_num = ctx->friendnum;
337 delwin(ctx->linewin); 336 delwin(ctx->linewin);
338 del_window(self, f_num); 337 del_window(self);
338 disable_chatwin(f_num);
339 } 339 }
340 340
341 else 341 else