summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-08-23 09:55:28 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-08-23 09:55:28 +0200
commit8319332a780457dd2a875bbafd8f83cc817d002e (patch)
tree59a6f4cf20fe8ffa3cde566617b94107bc41fcfe /src
parente179a34a407e2fc8758d8c0f5922c837da1cc313 (diff)
downloadweechat-8319332a780457dd2a875bbafd8f83cc817d002e.zip
irc: display the arrow before server name in raw buffer
This prevents the arrow to be truncated if the option weechat.look.prefix_align_max is set to a non-zero value.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-raw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-raw.c b/src/plugins/irc/irc-raw.c
index 58a55afce..6518cac15 100644
--- a/src/plugins/irc/irc-raw.c
+++ b/src/plugins/irc/irc-raw.c
@@ -300,13 +300,13 @@ irc_raw_message_add (struct t_irc_server *server, int flags,
}
snprintf (prefix, sizeof (prefix), "%s%s%s%s%s",
- (server) ? weechat_color ("chat_server") : "",
- (server) ? server->name : "",
- (server) ? " " : "",
(flags & IRC_RAW_FLAG_SEND) ?
weechat_color ("chat_prefix_quit") :
weechat_color ("chat_prefix_join"),
- prefix_arrow);
+ prefix_arrow,
+ (server) ? weechat_color ("chat_server") : "",
+ (server) ? " " : "",
+ (server) ? server->name : "");
}
new_raw_message = irc_raw_message_add_to_list (time (NULL),