Explorar el Código

fpdoc: fixed compile

git-svn-id: trunk@41084 -
Mattias Gaertner hace 6 años
padre
commit
c99972bc43
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      utils/fpdoc/dw_html.pp

+ 2 - 2
utils/fpdoc/dw_html.pp

@@ -3347,10 +3347,10 @@ var
     TDEl := CreateTD(TREl);
     CodeEl := CreateCode(CreatePara(TDEl));
     AppendKw(CodeEl, 'type');
-    if AClass.ObjKind=okGeneric then
+    if AClass.GenericTemplateTypes.Count>0 then
       AppendKw(CodeEl, ' generic ');
     AppendText(CodeEl, ' ' + UTF8Decode(AClass.Name) + ' ');
-    if AClass.ObjKind=okGeneric then
+    if AClass.GenericTemplateTypes.Count>0 then
       AppendGenericTypes(CodeEl,AClass.GenericTemplateTypes,false);
     AppendSym(CodeEl, '=');
     AppendText(CodeEl, ' ');