From fd6d06ff610687ce65b64e2be4e8262f64391a90 Mon Sep 17 00:00:00 2001 From: taiyu Date: Tue, 8 Sep 2015 09:52:33 -0700 Subject: [PATCH] fix missing symbol bug --- sway/config.c | 3 +++ 1 file changed, 3 insertions(+) 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; }