diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-01-07 09:11:45 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-01-07 09:11:45 +0100 |
commit | 7ee88fb46c512c125191d6447ff1348dfc3254f3 (patch) | |
tree | 708d6960a34134455ceafe5f737d2d99ed344f5f /src/gui/gui-chat.c | |
parent | 91f792416bd40c8e47d7f035e15f49732be368ce (diff) | |
download | weechat-7ee88fb46c512c125191d6447ff1348dfc3254f3.zip |
core: fix some styles
Diffstat (limited to 'src/gui/gui-chat.c')
-rw-r--r-- | src/gui/gui-chat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 8fa5e62f8..9af2d2371 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -116,9 +116,9 @@ gui_chat_prefix_build () ptr_prefix = CONFIG_STRING(config_look_prefix[i]); pos_color = strstr (ptr_prefix, "${"); - snprintf(prefix, sizeof (prefix), "%s%s\t", - (ptr_prefix[0] && (!pos_color || (pos_color > ptr_prefix))) ? GUI_COLOR(prefix_color[i]) : "", - ptr_prefix); + snprintf (prefix, sizeof (prefix), "%s%s\t", + (ptr_prefix[0] && (!pos_color || (pos_color > ptr_prefix))) ? GUI_COLOR(prefix_color[i]) : "", + ptr_prefix); if (pos_color) gui_chat_prefix[i] = eval_expression (prefix, NULL, NULL, NULL); |