aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c
index 4636cff6..6d445ec6 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -304,6 +304,9 @@ char *do_var_replacement(char *str) {
break;
}
}
+ if (i == config->symbols->length) {
+ ++find;
+ }
}
return str;
}