Explorar o código

* Patch from Mattias Gaertner to check for name when adding elements

git-svn-id: trunk@32728 -
michael %!s(int64=9) %!d(string=hai) anos
pai
achega
143acd2497
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      utils/fpdoc/fpdocclasstree.pp

+ 1 - 1
utils/fpdoc/fpdocclasstree.pp

@@ -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);