Fix logic issue in do_var_replacement

This commit is contained in:
Brian Ashworth 2018-06-05 10:07:42 -04:00
parent 067fe9d047
commit f4870d5432

View file

@ -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