diff options
-rw-r--r-- | Src/subst.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Src/subst.c b/Src/subst.c index 4100803e7..610d71ee2 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -1333,14 +1333,16 @@ subst_parse_str(char **sp, int single, int err) if (!single) { int qt = 0; - for (; *s; s++) + for (; *s; s++) { if (!qt) { if (*s == Qstring) *s = String; else if (*s == Qtick) *s = Tick; - } else if (*s == Dnull) + } + if (*s == Dnull) qt = !qt; + } } return 0; } |