diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-01-20 15:07:21 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-01-20 15:07:21 +0100 |
commit | fec7d38e3da8e1c6e1c2774f64fa064ac6dcf97c (patch) | |
tree | bd47011eaa18861922b4a99969efb8fef928d211 /src | |
parent | 85ee15d4e209720cd1def8bc9f58ccdc8c86514c (diff) | |
download | weechat-fec7d38e3da8e1c6e1c2774f64fa064ac6dcf97c.zip |
irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-color.c b/src/plugins/irc/irc-color.c index 240c7a58c..dacfc4219 100644 --- a/src/plugins/irc/irc-color.c +++ b/src/plugins/irc/irc-color.c @@ -486,7 +486,7 @@ irc_color_decode_ansi_cb (void *data, const char *text) /* sequence "\33[m" resets color */ if (length < 4) - return strdup (weechat_color ("reset")); + return strdup (IRC_COLOR_RESET_STR); text2 = NULL; items = NULL; |