浏览代码

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))
     Result:=TJSONStringType(FloatToStr(FValue,JSONFormatSettings))
   else
   else
     Result:=AsJSON;
     Result:=AsJSON;
+  if CurrentIndent=0 then ;
+  if Indent=0 then ;
 end;
 end;