1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00

core: remove extra space after empty prefix (when prefix for action, error, join, network or quit is set to empty string) (bug #39218)

This commit is contained in:
Sebastien Helleu
2013-06-10 11:48:49 +02:00
parent e20592f32d
commit 91017cb06c
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -1,7 +1,7 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
v0.4.2-dev, 2013-06-08
v0.4.2-dev, 2013-06-10
This document lists all changes for each version.
@@ -14,6 +14,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
Version 0.4.2 (under dev!)
--------------------------
* core: remove extra space after empty prefix (when prefix for action, error,
join, network or quit is set to empty string) (bug #39218)
* core: add option weechat.network.proxy_curl (task #12651)
* core: add "proxy" infolist and hdata
* core: fix random crash on mouse actions (bug #39094)
+1 -1
View File
@@ -108,7 +108,7 @@ gui_chat_prefix_build ()
pos_color = strstr (ptr_prefix, "${");
snprintf(prefix, sizeof (prefix), "%s%s\t",
(!pos_color || (pos_color > ptr_prefix)) ? GUI_COLOR(prefix_color[i]) : "",
(ptr_prefix[0] && (!pos_color || (pos_color > ptr_prefix))) ? GUI_COLOR(prefix_color[i]) : "",
ptr_prefix);
if (pos_color)