theme updates

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1078 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-06 21:57:06 +00:00 committed by cras
commit 28465db59c
3 changed files with 35 additions and 18 deletions

View file

@ -202,13 +202,11 @@ static void theme_format_append_next(THEME_REC *theme, GString *str,
if (**format == 'n')
chr = default_color;
if (chr != *last_color) {
if (IS_COLOR_FORMAT(chr))
*last_color = chr;
if (IS_COLOR_FORMAT(chr))
*last_color = chr;
g_string_append_c(str, '%');
g_string_append_c(str, chr);
}
g_string_append_c(str, '%');
g_string_append_c(str, chr);
(*format)++;
return;
}