diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-08-29 13:06:21 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-08-29 13:06:21 +0200 |
commit | d2ec2482d64f4245679307d30261b0013d6d732d (patch) | |
tree | e67ad6e4004c2d01182360167cf20cb087ed599b /src/gui | |
parent | 88b65fe3c21982c166443203d7c9a5a1727622d5 (diff) | |
download | weechat-d2ec2482d64f4245679307d30261b0013d6d732d.zip |
Add 2 new options: weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/curses/gui-curses-chat.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c index 966d6020b..aac84aad1 100644 --- a/src/gui/curses/gui-curses-chat.c +++ b/src/gui/curses/gui-curses-chat.c @@ -630,7 +630,9 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window, gui_window_set_weechat_color (GUI_WINDOW_OBJECTS(window)->win_chat, GUI_COLOR_CHAT_PREFIX_MORE); } - gui_chat_display_word (window, line, str_plus, + gui_chat_display_word (window, line, + (CONFIG_BOOLEAN(config_look_prefix_buffer_align_more)) ? + str_plus : str_space, NULL, 1, num_lines, count, lines_displayed, simulate); } @@ -744,7 +746,9 @@ gui_chat_display_time_and_prefix (struct t_gui_window *window, gui_window_set_weechat_color (GUI_WINDOW_OBJECTS(window)->win_chat, GUI_COLOR_CHAT_PREFIX_MORE); } - gui_chat_display_word (window, line, str_plus, + gui_chat_display_word (window, line, + (CONFIG_BOOLEAN(config_look_prefix_align_more)) ? + str_plus : str_space, NULL, 1, num_lines, count, lines_displayed, simulate); } |