commit f4870d5432b9d90865fee177465ff9cf22fab51c
parent 067fe9d0472ca24328a962e8704d4e843f2a8af1
Author: Brian Ashworth <bosrsf04@gmail.com>
Date: Tue, 5 Jun 2018 10:07:42 -0400
Fix logic issue in do_var_replacement
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/config.c b/sway/config.c
@@ -662,7 +662,7 @@ char *do_var_replacement(char *str) {
size_t length = strlen(find + 1);
strncpy(find, find + 1, length);
find[length] = '\0';
- find += 2;
+ ++find;
continue;
}
// Find matching variable