diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-01-25 15:54:20 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2018-01-29 09:28:55 +0100 |
commit | 126189bb374d436280885f0f878a5075feed2fbc (patch) | |
tree | 82a3e4f4545e452e74109fe0a00f41a37f3b97dc /src/fe-common/core | |
parent | 243ae4be84d422322f20be1b715dc0b00ef9c32d (diff) | |
download | irssi-126189bb374d436280885f0f878a5075feed2fbc.zip |
we probably should not try to replace replaces
Credit to OSS-Fuzz
Diffstat (limited to 'src/fe-common/core')
-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 cb1cce8f..6692985b 100644 --- a/src/fe-common/core/themes.c +++ b/src/fe-common/core/themes.c @@ -130,7 +130,7 @@ static char *theme_replace_expand(THEME_REC *theme, int index, abstract = rec->data; abstract = theme_format_expand_data(theme, (const char **) &abstract, default_fg, default_bg, - last_fg, last_bg, flags); + last_fg, last_bg, (flags | EXPAND_FLAG_IGNORE_REPLACES)); ret = parse_special_string(abstract, NULL, NULL, data, NULL, PARSE_FLAG_ONLY_ARGS); g_free(abstract); |