From 113ed9118e1676c4a5e37007d8a16729c3c00d82 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 10 Feb 2002 15:09:58 +0000 Subject: 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 --- src/fe-common/core/themes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-common/core/themes.c b/src/fe-common/core/themes.c index f009f0ba..c80c9e2d 100644 --- a/src/fe-common/core/themes.c +++ b/src/fe-common/core/themes.c @@ -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 */ -- cgit v1.2.3