irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
This commit is contained in:
parent
85ee15d4e2
commit
fec7d38e3d
@ -35,6 +35,7 @@ Bug fixes::
|
||||
* core: fix forced highlight on messages sent to other buffers (issue #1277)
|
||||
* buflist: add alternate key codes for kbd:[F1]/kbd:[F2] and kbd:[Alt+F1]/kbd:[Alt+F2] (compatibility with terminals)
|
||||
* buflist: fix warning displayed when script buffers.pl is loaded (issue #1274)
|
||||
* irc: return IRC color code instead of WeeChat color code when decoding a too short ANSI color sequence
|
||||
* irc: fix encoding of italic attribute when colors are removed
|
||||
* irc: fix parsing of "time" message tag on FreeBSD (issue #1289)
|
||||
* relay: fix memory leak in connection of client
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user