Skip to content

Commit

Permalink
Json.Utils bug fix not mswindows
Browse files Browse the repository at this point in the history
  • Loading branch information
exilon committed Apr 1, 2019
1 parent ef68cb8 commit 2496e47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Quick.JSON.Utils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,11 @@ class function TJsonUtils.JsonFormat(const json : string) : string;
isEOL := True;
isIntoString := False;
isEscape := False;
{$IFNDEF NEXTGEN}
for i := 1 to json.Length do
{$ELSE}
for i := 0 to json.Length - 1 do
{$ENDIF}
begin
c := json[i];
if isIntoString then
Expand Down

0 comments on commit 2496e47

Please sign in to comment.