You've already forked lazarus-ccr
tvplanit: Fix writing of xml file by TVpXmlDatastore if ParentNode is empty.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -250,9 +250,8 @@ begin
|
|||||||
Result := ADoc.FindNode(STORE_NODE_NAME);
|
Result := ADoc.FindNode(STORE_NODE_NAME);
|
||||||
// no: attach as child of root
|
// no: attach as child of root
|
||||||
if Result = nil then begin
|
if Result = nil then begin
|
||||||
rootnode := ADoc.FirstChild;
|
|
||||||
Result := ADoc.CreateElement(STORE_NODE_NAME);
|
Result := ADoc.CreateElement(STORE_NODE_NAME);
|
||||||
rootnode.AppendChild(Result);
|
ADoc.AppendChild(Result);
|
||||||
end;
|
end;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user