diff options
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index 462ee79..3d20233 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -164,9 +164,7 @@ void FileDef::writeDocumentation(OutputList &ol) ol.docify(ii->includeName); ol.enableAll(); ol.disableAllBut(OutputGenerator::Html); - if (fd && fd->isLinkable() && - (fd->generateSource() || Config::sourceBrowseFlag) - ) + if (fd && fd->isLinkable() && fd->generateSourceFile()) { ol.writeObjectLink(fd->getReference(),fd->includeName(),0,ii->includeName); } @@ -222,7 +220,7 @@ void FileDef::writeDocumentation(OutputList &ol) //incDepGraph.writeGraph(Config::htmlOutputDir,fd->getOutputFileBase()); } - if (generateSource() || (!isReference() && Config::sourceBrowseFlag)) + if (generateSourceFile()) { ol.disableAllBut(OutputGenerator::Html); ol.newParagraph(); |