summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'json.c')
-rw-r--r--json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.c b/json.c
index ade9eeb..23c8282 100644
--- a/json.c
+++ b/json.c
@@ -1065,7 +1065,7 @@ quote:
s++;
}
break;
- } if (*s == '"') {
+ } else if (*s == '"') {
/* We're converting single quotes to double quotes,
* so double quotes need to be automatically escaped. */
flush();