summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-09-10 15:26:30 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-09-10 15:26:30 (GMT)
commit69ead65c747f7fa7817c0a754dfe2662004037a1 (patch)
tree19b06b53ec293b6d690ff3d82f256f67576dee1c /src/filedef.cpp
parent92663f876495b7d98aa85d604d0149f8b73c8dc7 (diff)
downloadDoxygen-69ead65c747f7fa7817c0a754dfe2662004037a1.zip
Doxygen-69ead65c747f7fa7817c0a754dfe2662004037a1.tar.gz
Doxygen-69ead65c747f7fa7817c0a754dfe2662004037a1.tar.bz2
Release-20000910
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp6
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();