From 7e7449592a6e2f10857e6a5e57a17d05e773b554 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Tue, 6 Jan 2015 09:20:43 -0800 Subject: 34103: fix ancient double-quote handling thinko in subst_parse_str() This doesn't seem to have mattered, but must in some obscure cases --- Src/subst.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Src/subst.c') 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; } -- cgit 1.4.1