Ver código fonte

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

git-svn-id: trunk@24905 -
michael 12 anos atrás
pai
commit
7e72f856ce
1 arquivos alterados com 1 adições e 0 exclusões
  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