From 8319332a780457dd2a875bbafd8f83cc817d002e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 23 Aug 2015 09:55:28 +0200 Subject: 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. --- src/plugins/irc/irc-raw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins') 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), -- cgit v1.2.3