Merge pull request #499 from JFreegman/master

fix toxic tab bar bugs
This commit is contained in:
irungentoo 2013-08-19 14:53:21 -07:00
commit b16906d5e4
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -197,6 +197,7 @@ static void draw_bar()
if (windows[i].blink && (odd < (blinkrate / 2)))
attron(COLOR_PAIR(3));
clrtoeol();
printw(" %s", windows[i].title);
if (windows[i].blink && (odd < (blinkrate / 2)))