summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-01-30 11:20:02 +0100
committerGitHub <noreply@github.com>2018-01-30 11:20:02 +0100
commitb5380fff53241168cd0de4e8fc1cbfa38b1c4cb9 (patch)
tree82a3e4f4545e452e74109fe0a00f41a37f3b97dc
parent243ae4be84d422322f20be1b715dc0b00ef9c32d (diff)
parent126189bb374d436280885f0f878a5075feed2fbc (diff)
downloadirssi-b5380fff53241168cd0de4e8fc1cbfa38b1c4cb9.zip
Merge pull request #833 from ailin-nemui/rrrreplaces
we probably should not try to replace replaces
-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);