diff options
author | James Booth <boothj5@gmail.com> | 2014-07-16 22:41:02 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-07-16 22:41:02 +0100 |
commit | 20c11adddc8f8e740f06fe737838ee6aabe5c9d7 (patch) | |
tree | 39cf0ff4a079596fde748f9f55d6206dea9bdb21 /src/ui | |
parent | 860591872f41e78406751bf4476ffcde7f321c9a (diff) | |
download | profani-tty-20c11adddc8f8e740f06fe737838ee6aabe5c9d7.tar.gz |
Used constants for print flags
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/core.c | 6 | ||||
-rw-r--r-- | src/ui/window.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 59329c05..8b7432fa 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1582,7 +1582,7 @@ _ui_room_history(const char * const room_jid, const char * const nick, { ProfWin *window = wins_get_by_recipient(room_jid); - win_save_vprint(window, '-', (&tv_stamp), 8, 0, nick, message); + win_save_vprint(window, '-', (&tv_stamp), NO_COLOUR_FROM, 0, nick, message); if (wins_is_current(window)) { win_update_virtual(window); @@ -1599,9 +1599,9 @@ _ui_room_message(const char * const room_jid, const char * const nick, if (strcmp(nick, my_nick) != 0) { if (g_strrstr(message, my_nick) != NULL) { - win_save_print(window, '-', NULL, 1, COLOUR_ROOMMENTION, nick, message); + win_save_print(window, '-', NULL, NO_ME, COLOUR_ROOMMENTION, nick, message); } else { - win_save_print(window, '-', NULL, 1, 0, nick, message); + win_save_print(window, '-', NULL, NO_ME, 0, nick, message); } } else { win_save_print(window, '-', NULL, 0, 0, nick, message); diff --git a/src/ui/window.c b/src/ui/window.c index 13dd2465..73511b0e 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -324,7 +324,7 @@ win_print_incoming_message(ProfWin *window, GTimeVal *tv_stamp, { case WIN_CHAT: case WIN_PRIVATE: - win_save_print(window, '-', tv_stamp, 1, 0, from, message); + win_save_print(window, '-', tv_stamp, NO_ME, 0, from, message); break; default: assert(FALSE); |