diff options
author | Timo Sirainen <cras@irssi.org> | 2002-01-09 17:10:46 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-01-09 17:10:46 +0000 |
commit | 805f59d9eed685d77b79bcecf62e22a1ec0ea6a5 (patch) | |
tree | 2daece77fd7f8b0353d12ece60f8e84ce2a9ea3b /src | |
parent | 897aa03814aab84bae0c3da05506df6687f0e4d5 (diff) | |
download | irssi-805f59d9eed685d77b79bcecf62e22a1ec0ea6a5.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index 78457fa4..4e0561bb 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -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: |