Browse Source

* Slightly modified patch from Graeme, Mantis #21357 which adds an assigned.

git-svn-id: trunk@20409 -
marco 13 years ago
parent
commit
e6cdc2b744
1 changed files with 2 additions and 1 deletions
  1. 2 1
      utils/fpdoc/dwlinear.pp

+ 2 - 1
utils/fpdoc/dwlinear.pp

@@ -893,7 +893,8 @@ begin
         Writeln(Format('%s : ',[SDocVersion]));
         WriteDescr(TypeDecl, DocNode.Version);
         end;
-      ConvertNotes(TypeDecl,DocNode.Notes);
+      if Assigned(DocNode) and assigned(DocNode.Notes) then
+        ConvertNotes(TypeDecl,DocNode.Notes);
       DescrEndParagraph;
       end;
   end;