diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-10 15:09:58 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-10 15:09:58 +0000 |
commit | 113ed9118e1676c4a5e37007d8a16729c3c00d82 (patch) | |
tree | 8909586800ac9d5c8489f2ce8ce8373351ea520b /src | |
parent | 0c209a68998eebf33aa5a4ed7da8d7fcc27f288b (diff) | |
download | irssi-113ed9118e1676c4a5e37007d8a16729c3c00d82.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/themes.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |