diff options
Diffstat (limited to 'testing/toxic')
-rw-r--r-- | testing/toxic/chat.c | 3 | ||||
-rw-r--r-- | testing/toxic/windows.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/toxic/chat.c b/testing/toxic/chat.c index 67c2ed05..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)); |
diff --git a/testing/toxic/windows.c b/testing/toxic/windows.c index a2c649d5..c0ff3026 100644 --- a/testing/toxic/windows.c +++ b/testing/toxic/windows.c | |||
@@ -197,6 +197,7 @@ static void draw_bar() | |||
197 | if (windows[i].blink && (odd < (blinkrate / 2))) | 197 | if (windows[i].blink && (odd < (blinkrate / 2))) |
198 | attron(COLOR_PAIR(3)); | 198 | attron(COLOR_PAIR(3)); |
199 | 199 | ||
200 | clrtoeol(); | ||
200 | printw(" %s", windows[i].title); | 201 | printw(" %s", windows[i].title); |
201 | 202 | ||
202 | if (windows[i].blink && (odd < (blinkrate / 2))) | 203 | if (windows[i].blink && (odd < (blinkrate / 2))) |