浏览代码

* Fix for bug ID #24603 (initialize result of TJSONObject.DoFormatJSON)

git-svn-id: trunk@24905 -
michael 12 年之前
父节点
当前提交
7e72f856ce
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/fcl-json/src/fpjson.pp

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

@@ -1920,6 +1920,7 @@ Var
 
 
 begin
+  Result:='';
   CurrentIndent:=CurrentIndent+Indent;  
   For I:=0 to Count-1 do
     begin