Template packing: After $variables the color could be anything, don't

even try to guess it.

Some changes to templates in theme. Nick mode is now separate argument.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1083 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-01-07 07:48:56 +00:00 committed by cras
commit f8f6d7670a
3 changed files with 28 additions and 24 deletions

View file

@ -366,6 +366,7 @@ static char *theme_format_compress_colors(THEME_REC *theme, const char *format)
if (*format == '$') {
/* $variable, skrip it entirely */
theme_format_append_variable(str, &format);
last_color = '\0';
} else if (*format != '%') {
/* a normal character */
g_string_append_c(str, *format);