summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-03-04 18:59:59 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-03-04 18:59:59 (GMT)
commitea202be55d68af33917658e3fec169da3a7fa7a8 (patch)
tree147ba92f811be7aa7edd5b9e188be574e3dc73ec /src
parent5e5615a9d2da8b923565c1bcadc9db48efbc75d0 (diff)
downloadDoxygen-ea202be55d68af33917658e3fec169da3a7fa7a8.zip
Doxygen-ea202be55d68af33917658e3fec169da3a7fa7a8.tar.gz
Doxygen-ea202be55d68af33917658e3fec169da3a7fa7a8.tar.bz2
Bug 745481 - Doxygen generates bad "More..." file links for functions within a namespace
Namespaces are recorded at separate pages as well. Condition should be extended for namespaces as well.
Diffstat (limited to 'src')
-rw-r--r--src/memberdef.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index c3ef245..b67ecbc 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -1808,7 +1808,10 @@ void MemberDef::writeDeclaration(OutputList &ol,
ol.disableAllBut(OutputGenerator::Html);
//ol.endEmphasis();
ol.docify(" ");
- if (separateMemberPages || (m_impl->group!=0 && gd==0)) // forward link to the page or group
+ if (separateMemberPages ||
+ (m_impl->group!=0 && gd==0) ||
+ (m_impl->nspace!=0 && nd==0)
+ ) // forward link to the page or group or namespace
{
ol.startTextLink(getOutputFileBase(),anchor());
}