From 10d97b2942395e195c6ea83abeab98fca5543c1a Mon Sep 17 00:00:00 2001 From: Jfreegman Date: Mon, 19 Aug 2013 16:55:04 -0400 Subject: [PATCH] fix tab bar bugs --- chat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chat.c b/chat.c index 67c2ed0..57404a5 100644 --- a/chat.c +++ b/chat.c @@ -123,8 +123,7 @@ static void chat_onStatusChange(ToxWindow *self, int num, uint8_t *status, uint1 status[len - 1] = '\0'; fix_name(status); - snprintf(self->title, sizeof(self->title), "[%s (%d)]", status, num); - + wattron(ctx->history, COLOR_PAIR(3)); wprintw(ctx->history, "* Your partner changed status to '%s'\n", status); wattroff(ctx->history, COLOR_PAIR(3));