diff options
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index fed416a..83aafe2 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1954,7 +1954,7 @@ bool generateLink(OutputList &ol,const char *clName, ol.endTextLink(); return TRUE; } - else if ((fd=findFileDef(&inputNameDict,linkRef,ambig)) + else if ((fd=findFileDef(inputNameDict,linkRef,ambig)) && fd->isLinkable()) { // link to documented input file @@ -1973,7 +1973,7 @@ void generateFileRef(OutputList &ol,const char *name,const char *text) //FileInfo *fi; FileDef *fd; bool ambig; - if ((fd=findFileDef(&inputNameDict,name,ambig)) && + if ((fd=findFileDef(inputNameDict,name,ambig)) && fd->isLinkable()) // link to documented input file ol.writeObjectLink(fd->getReference(),fd->getOutputFileBase(),0,linkText); |