summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-printtext.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-03-11 03:45:57 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-03-11 03:45:57 +0000
commit8fa39c23a700da647eb22be83b74780e01150799 (patch)
treea2aabb56fd20ac3711f0dc5d860d67798db3f86c /src/fe-text/gui-printtext.c
parentabe4e30256e4babacdec8837abafc3eb0a19e321 (diff)
downloadirssi-8fa39c23a700da647eb22be83b74780e01150799.zip
default_color checks moved from fe-text to fe-common, so they work properly
with window-specific themes. also should fix some weird problems related to them and gui_printtext_after(). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2576 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-printtext.c')
-rw-r--r--src/fe-text/gui-printtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c
index b4862a8e..429937a5 100644
--- a/src/fe-text/gui-printtext.c
+++ b/src/fe-text/gui-printtext.c
@@ -150,7 +150,7 @@ static void get_colors(int flags, int *fg, int *bg, int *attr)
}
if (*fg < 0 || *fg > 15)
- *fg = current_theme->default_color;
+ *fg = -1;
if (*bg < 0 || *bg > 15)
*bg = -1;