diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-16 15:35:08 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-16 15:35:08 +0000 |
commit | b3523dd4f815e38c3d9ca3e49525c6cce36bd5b4 (patch) | |
tree | c54bc7246db6a4ef63821c8a6008c9f951094851 /src | |
parent | d3dbd863ae4bed6cd83aa56c5e894592e40e5d94 (diff) | |
download | irssi-b3523dd4f815e38c3d9ca3e49525c6cce36bd5b4.zip |
Print the text with the "default" color (whatever is set with xterm -fg) -
not the theme->default_color.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@471 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-printtext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 89e2abd6..205d3afe 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -168,12 +168,12 @@ static void get_colors(int flags, int *fg, int *bg) if (flags & PRINTFLAG_MIRC_COLOR) { /* mirc colors */ *fg = *fg < 0 || *fg > 16 ? - current_theme->default_color : mirc_colors[*fg]; + /*current_theme->default_color*/0 : mirc_colors[*fg]; *bg = *bg < 0 || *bg > 16 ? 0 : mirc_colors[*bg]; } else { /* default colors */ *fg = *fg < 0 || *fg > 15 ? - current_theme->default_color : *fg; + /*current_theme->default_color*/0 : *fg; *bg = *bg < 0 || *bg > 15 ? 0 : *bg; if (*fg > 8) *fg -= 8; |