mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
small bugfix, mirc color flag was set on unless both /set hide_mirc_colors
and /set hide_text_style was on. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2300 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
897aa03814
commit
805f59d9ee
@ -943,7 +943,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
|
|||||||
get_mirc_color((const char **) &ptr,
|
get_mirc_color((const char **) &ptr,
|
||||||
hide_mirc_colors || hide_text_style ? NULL : &fgcolor,
|
hide_mirc_colors || hide_text_style ? NULL : &fgcolor,
|
||||||
hide_mirc_colors || hide_text_style ? NULL : &bgcolor);
|
hide_mirc_colors || hide_text_style ? NULL : &bgcolor);
|
||||||
if (!hide_mirc_colors || !hide_text_style)
|
if (!hide_mirc_colors && !hide_text_style)
|
||||||
flags |= GUI_PRINT_FLAG_MIRC_COLOR;
|
flags |= GUI_PRINT_FLAG_MIRC_COLOR;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
Loading…
Reference in New Issue
Block a user