Explorar o código

Json.Utils bug fix not mswindows

Unknown %!s(int64=6) %!d(string=hai) anos
pai
achega
2496e473e9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Quick.JSON.Utils.pas

+ 4 - 0
Quick.JSON.Utils.pas

@@ -77,7 +77,11 @@ begin
   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