瀏覽代碼

fcl-json: less hints

mattias 7 月之前
父節點
當前提交
687384f091
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/fcl-json/src/fpjson.pp

+ 2 - 0
packages/fcl-json/src/fpjson.pp

@@ -2196,6 +2196,8 @@ begin
     Result:=TJSONStringType(FloatToStr(FValue,JSONFormatSettings))
   else
     Result:=AsJSON;
+  if CurrentIndent=0 then ;
+  if Indent=0 then ;
 end;