summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index d83f236..a48f284 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -866,9 +866,9 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
QCString scopeName = scName;
if (container->definitionType()==TypeGroup)
{
- if (getClassDef()) scopeName=getClassDef()->name();
- else if (getNamespaceDef()) scopeName=getClassDef()->name();
- else if (getFileDef()) scopeName=getClassDef()->name();
+ if (getClassDef()) scopeName=getClassDef()->name();
+ else if (getNamespaceDef()) scopeName=getNamespaceDef()->name();
+ else if (getFileDef()) scopeName=getFileDef()->name();
}
bool hasDocs = detailsAreVisible();