summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-10-15 09:02:20 (GMT)
committerGitHub <noreply@github.com>2017-10-15 09:02:20 (GMT)
commitaf7dfa6d51dcbdbcba4196c244e4609ff249d83c (patch)
treeb619debdc513ec5791a366b57579dc5c0732d7d5
parent960e82c51b3f4eef331d4c35b19cec6861c6a8f1 (diff)
parentc87f730fe4bc40f72ed5fa52fe032a7bdf2d549c (diff)
downloadDoxygen-af7dfa6d51dcbdbcba4196c244e4609ff249d83c.zip
Doxygen-af7dfa6d51dcbdbcba4196c244e4609ff249d83c.tar.gz
Doxygen-af7dfa6d51dcbdbcba4196c244e4609ff249d83c.tar.bz2
Merge pull request #609 from msc-/master
Fix https://bugzilla.gnome.org/show_bug.cgi?id=782583.
-rw-r--r--src/pagedef.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp
index e797b050..2517942 100644
--- a/src/pagedef.cpp
+++ b/src/pagedef.cpp
@@ -174,8 +174,11 @@ void PageDef::writeDocumentation(OutputList &ol)
ol.writeString(" - ");
ol.popGeneratorState();
- ol.generateDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE);
- ol.endSection(si->label,si->type);
+ if (si->title != manPageName)
+ {
+ ol.generateDoc(docFile(),docLine(),this,0,si->title,TRUE,FALSE,0,TRUE,FALSE);
+ ol.endSection(si->label,si->type);
+ }
}
ol.popGeneratorState();
//2.}