1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -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:
Timo Sirainen 2002-01-09 17:10:46 +00:00 committed by cras
parent 897aa03814
commit 805f59d9ee

View File

@ -943,7 +943,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
get_mirc_color((const char **) &ptr,
hide_mirc_colors || hide_text_style ? NULL : &fgcolor,
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;
break;
case 4: