mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
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
This commit is contained in:
parent
d3dbd863ae
commit
b3523dd4f8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user