From b3523dd4f815e38c3d9ca3e49525c6cce36bd5b4 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 16 Jul 2000 15:35:08 +0000 Subject: [PATCH] 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 --- src/fe-text/gui-printtext.c | 4 ++-- 1 file 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;