Skip to content

Commit 791db74

Browse files
committed
replace { with ]
1 parent fc48280 commit 791db74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NppJSONViewer/json.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ json_format_string (const char *text)
10851085

10861086
case '[':
10871087
indentation++;
1088-
rcs_catcs (output, "{\n", 2);
1088+
rcs_catcs (output, "[\n", 2);
10891089
for (i = 0; i < indentation; i++)
10901090
{
10911091
rcs_catc (output, '\t');
@@ -1103,7 +1103,7 @@ json_format_string (const char *text)
11031103
{
11041104
rcs_catc (output, '\t');
11051105
}
1106-
rcs_catc (output, '}');
1106+
rcs_catc (output, ']');
11071107
pos++;
11081108
break;
11091109

0 commit comments

Comments
 (0)