diff options
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r-- | src/classlist.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/classlist.cpp b/src/classlist.cpp index 196f8c2..81f96b2 100644 --- a/src/classlist.cpp +++ b/src/classlist.cpp @@ -150,6 +150,10 @@ void ClassSDict::writeDeclaration(OutputList &ol,const ClassDef::CompoundType *f if (localNames) { cname = cd->localName(); + if (cname.right(2)=="-p" || cname.right(2)=="-g") + { + cname = cname.left(cname.length()-2); + } } else { |