diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-21 22:57:51 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-08-21 22:57:51 +0200 |
commit | ae7571a49733d965b6dba561c389a0e324c9e4f5 (patch) | |
tree | 0769ce69f2bc7b739af554e2002ac782063ddfde | |
parent | 8fd1d48723b5aa9e0e7cd1f5862be5be61b02783 (diff) | |
download | weechat-ae7571a49733d965b6dba561c389a0e324c9e4f5.zip |
core: remove extra space in quote of messages (in cursor mode)
-rw-r--r-- | src/gui/gui-chat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 973aee7df..00fff1ab7 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -845,7 +845,8 @@ gui_chat_hsignal_quote_line_cb (void *data, const char *signal, (prefix) ? prefix : "", (prefix) ? " " : "", (time || prefix) ? CONFIG_STRING(config_look_prefix_suffix) : "", - (time || prefix) ? " " : "", + ((time || prefix) && CONFIG_STRING(config_look_prefix_suffix) + && CONFIG_STRING(config_look_prefix_suffix)[0]) ? " " : "", message); gui_input_insert_string (gui_current_window->buffer, str, -1); gui_input_text_changed_modifier_and_signal (gui_current_window->buffer, 1); |