mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 15:39:29 +02:00
* Patch from Mattias Gaertner to check for name when adding elements
git-svn-id: trunk@32728 -
This commit is contained in:
parent
891aaa9732
commit
143acd2497
@ -164,7 +164,7 @@ begin
|
||||
begin
|
||||
Result:=N as TDomElement
|
||||
end
|
||||
else
|
||||
else if AElement.Name<>'' then
|
||||
begin // N=NIL, PE might be nil.
|
||||
Inc(ACount);
|
||||
Result:=FClassTree.CreateElement(AElement.Name);
|
||||
|
Loading…
Reference in New Issue
Block a user