diff options
author | James Booth <boothj5@gmail.com> | 2012-10-30 22:32:22 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-30 22:32:22 +0000 |
commit | e592a431b7b2dc58bd8af7b7231cea79e6fad3ba (patch) | |
tree | 8d6f850acc5fea8a2f9c9b3d6c6dc7b3aab27442 /src | |
parent | 768b2aa4667a362ea1343f47c044d79b642c2497 (diff) | |
download | profani-tty-e592a431b7b2dc58bd8af7b7231cea79e6fad3ba.tar.gz |
Fixed message colouring
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/windows.c b/src/windows.c index c7e49020..57cebdf5 100644 --- a/src/windows.c +++ b/src/windows.c @@ -441,13 +441,13 @@ win_show_outgoing_msg(const char * const from, const char * const to, _win_show_time(win); if (strncmp(message, "/me ", 4) == 0) { - wattron(win, COLOUR_ONLINE); + wattron(win, COLOUR_INC); wprintw(win, "*%s ", from); wprintw(win, message + 4); wprintw(win, "\n"); - wattroff(win, COLOUR_ONLINE); + wattroff(win, COLOUR_INC); } else { - _win_show_user(win, from, 1); + _win_show_user(win, from, 0); _win_show_message(win, message); } _win_switch_if_active(win_index); |