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
This commit is contained in:
Timo Sirainen 2002-03-11 03:45:57 +00:00 committed by cras
commit 8fa39c23a7
2 changed files with 11 additions and 7 deletions

View file

@ -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;