Skip to content

Commit f11f36d

Browse files
committed
Fix dump_json to return valid json
1 parent 9d27aaa commit f11f36d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RepostConfirmationCancelerTalk/cb_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ static char *dump_json(struct config *conf)
177177
int need_comma;
178178

179179
/* WarningWhenCloseDialog */
180-
strbuf_concat(&sb, "\"WarningWhenCloseDialog\":");
180+
strbuf_concat(&sb, "{\"WarningWhenCloseDialog\":");
181181
strbuf_concat(&sb, _itoa(conf->warning_when_close_dialog, buf, 10));
182182
strbuf_putchar(&sb, ',');
183183

0 commit comments

Comments
 (0)