2
0
Эх сурвалжийг харах

Json.Utils bug fix not mswindows

Unknown 6 жил өмнө
parent
commit
2496e473e9

+ 4 - 0
Quick.JSON.Utils.pas

@@ -77,7 +77,11 @@ begin
   isEOL := True;
   isEOL := True;
   isIntoString := False;
   isIntoString := False;
   isEscape := False;
   isEscape := False;
+  {$IFNDEF NEXTGEN}
   for i := 1 to json.Length do
   for i := 1 to json.Length do
+  {$ELSE}
+  for i := 0 to json.Length - 1 do
+  {$ENDIF}
   begin
   begin
     c := json[i];
     c := json[i];
     if isIntoString then
     if isIntoString then