mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
Don't expand %{ and %} in themes to { and } - they could be treated as
abstracts again. Printing %{ and %} now prints just { and }. This fixes
printing {stuff} in statusbar (eg. {nick}).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1885 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6f8a3bd08d
commit
bc8ee2d26c
2 changed files with 9 additions and 4 deletions
|
|
@ -212,7 +212,9 @@ static void theme_format_append_next(THEME_REC *theme, GString *str,
|
|||
return;
|
||||
}
|
||||
|
||||
/* %{ or %} gives us { or } char */
|
||||
/* %{ or %} gives us { or } char - keep the % char
|
||||
though to make sure {} isn't treated as abstract */
|
||||
g_string_append_c(str, '%');
|
||||
chr = **format;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue