summaryrefslogtreecommitdiffstats
path: root/src/diagram.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2012-03-17 20:32:54 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2012-03-17 20:32:54 (GMT)
commitb1800e6e8923c5a1eeefb136103811135d5813bf (patch)
tree5c9d2280ca0cb07840bfa26ca4dbed5b3225d21f /src/diagram.cpp
parentcff8111ed33af6033bd188868964d92ea3503188 (diff)
downloadDoxygen-b1800e6e8923c5a1eeefb136103811135d5813bf.zip
Doxygen-b1800e6e8923c5a1eeefb136103811135d5813bf.tar.gz
Doxygen-b1800e6e8923c5a1eeefb136103811135d5813bf.tar.bz2
Release-1.8.0
Diffstat (limited to 'src/diagram.cpp')
-rw-r--r--src/diagram.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/diagram.cpp b/src/diagram.cpp
index c40002c..07fb4aa 100644
--- a/src/diagram.cpp
+++ b/src/diagram.cpp
@@ -209,7 +209,12 @@ QCString DiagramItem::label() const
{
// we use classDef->name() here and not diplayName() in order
// to get the name used in the inheritance relation.
- result=insertTemplateSpecifierInScope(classDef->name(),templSpec);
+ QCString n = classDef->name();
+ if (n.right(2)=="-g" || n.right(2)=="-p")
+ {
+ n = n.left(n.length()-2);
+ }
+ result=insertTemplateSpecifierInScope(n,templSpec);
}
else
{