summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-19 14:53:21 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-19 14:53:21 -0700
commitb16906d5e42cf65e198de0ccd21155df4a364c56 (patch)
tree8cf5f1957956a7c5874cd10fe8a320416c77be20 /testing
parent7543d6d52867168c0e95729b436ccaa202dd8ffa (diff)
parent22f766860f8d0a46445b452f29e11ffdfe57dc05 (diff)
Merge pull request #499 from JFreegman/master
fix toxic tab bar bugs
Diffstat (limited to 'testing')
-rw-r--r--testing/toxic/chat.c3
-rw-r--r--testing/toxic/windows.c1
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)))