mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05:00
theme_format_compress_colors() doesn't assume the default color as %n
anymore. This is useful at least when you want to set statusbar background color to %n so it won't be compressed to "".. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2425 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0c209a6899
commit
113ed9118e
@ -443,7 +443,7 @@ static char *theme_format_compress_colors(THEME_REC *theme, const char *format)
|
||||
|
||||
str = g_string_new(NULL);
|
||||
|
||||
last_fg = last_bg = 'n';
|
||||
last_fg = last_bg = '\0';
|
||||
while (*format != '\0') {
|
||||
if (*format == '$') {
|
||||
/* $variable, skrip it entirely */
|
||||
|
Loading…
x
Reference in New Issue
Block a user