1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04: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:
Timo Sirainen 2002-02-10 15:09:58 +00:00 committed by cras
parent 0c209a6899
commit 113ed9118e

View File

@ -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 */