summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-01-25 15:54:20 +0100
committerailin-nemui <ailin-nemui@users.noreply.github.com>2018-01-29 09:28:55 +0100
commit126189bb374d436280885f0f878a5075feed2fbc (patch)
tree82a3e4f4545e452e74109fe0a00f41a37f3b97dc /src/fe-common/core
parent243ae4be84d422322f20be1b715dc0b00ef9c32d (diff)
downloadirssi-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.c2
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);