diff options
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r-- | src/classlist.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classlist.cpp b/src/classlist.cpp index 7c69d73..3772ae5 100644 --- a/src/classlist.cpp +++ b/src/classlist.cpp @@ -35,8 +35,8 @@ int ClassList::compareItems(GCI item1, GCI item2) { ClassDef *c1=(ClassDef *)item1; ClassDef *c2=(ClassDef *)item2; - return stricmp(c1->name().data()+getPrefixIndex(c1->localName()), - c2->name().data()+getPrefixIndex(c2->localName()) + return stricmp(c1->localName().data()+getPrefixIndex(c1->localName()), + c2->localName().data()+getPrefixIndex(c2->localName()) ); } @@ -44,8 +44,8 @@ int ClassSDict::compareItems(GCI item1, GCI item2) { ClassDef *c1=(ClassDef *)item1; ClassDef *c2=(ClassDef *)item2; - return stricmp(c1->name().data()+getPrefixIndex(c1->localName()), - c2->name().data()+getPrefixIndex(c2->localName()) + return stricmp(c1->localName().data()+getPrefixIndex(c1->localName()), + c2->localName().data()+getPrefixIndex(c2->localName()) ); } |