mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
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:
parent
abe4e30256
commit
8fa39c23a7
2 changed files with 11 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue