mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
theme updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1078 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ba4b59d134
commit
28465db59c
3 changed files with 35 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue