浏览代码

Json.Utils bug fix not mswindows

Unknown 6 年之前
父节点
当前提交
2496e473e9
共有 1 个文件被更改,包括 4 次插入0 次删除
  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