1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

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.
This commit is contained in:
Sébastien Helleu
2015-08-23 09:55:28 +02:00
parent e179a34a40
commit 8319332a78
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -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),