소스 검색

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

git-svn-id: trunk@32728 -
michael 9 년 전
부모
커밋
143acd2497
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);