summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/definition.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index fbf5be8..276d02f 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -1739,7 +1739,8 @@ QCString Definition::navigationPathAsString() const
}
else if (definitionType()==Definition::TypePage && !((const PageDef*)this)->title().isEmpty())
{
- result+="<a class=\"el\" href=\"$relpath^"+getOutputFileBase()+Doxygen::htmlFileExtension+"\">"+
+ if ((this==Doxygen::mainPage && mainPageHasTitle()) || this!=Doxygen::mainPage)
+ result+="<a class=\"el\" href=\"$relpath^"+getOutputFileBase()+Doxygen::htmlFileExtension+"\">"+
convertToHtml(((const PageDef*)this)->title())+"</a>";
}
else if (definitionType()==Definition::TypeClass)