From ae7571a49733d965b6dba561c389a0e324c9e4f5 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 21 Aug 2011 22:57:51 +0200 Subject: core: remove extra space in quote of messages (in cursor mode) --- src/gui/gui-chat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3