summaryrefslogtreecommitdiffstats
path: root/src/classlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r--src/classlist.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/classlist.cpp b/src/classlist.cpp
index 3772ae5..c78a3f5 100644
--- a/src/classlist.cpp
+++ b/src/classlist.cpp
@@ -35,18 +35,22 @@ int ClassList::compareItems(GCI item1, GCI item2)
{
ClassDef *c1=(ClassDef *)item1;
ClassDef *c2=(ClassDef *)item2;
- return stricmp(c1->localName().data()+getPrefixIndex(c1->localName()),
- c2->localName().data()+getPrefixIndex(c2->localName())
- );
+ //return stricmp(c1->localName().data()+getPrefixIndex(c1->localName()),
+ // c2->localName().data()+getPrefixIndex(c2->localName())
+ // );
+ return stricmp(c1->className().data()+getPrefixIndex(c1->className()),
+ c2->className().data()+getPrefixIndex(c2->className()));
}
int ClassSDict::compareItems(GCI item1, GCI item2)
{
ClassDef *c1=(ClassDef *)item1;
ClassDef *c2=(ClassDef *)item2;
- return stricmp(c1->localName().data()+getPrefixIndex(c1->localName()),
- c2->localName().data()+getPrefixIndex(c2->localName())
- );
+ //return stricmp(c1->localName().data()+getPrefixIndex(c1->localName()),
+ // c2->localName().data()+getPrefixIndex(c2->localName())
+ // );
+ return stricmp(c1->className().data()+getPrefixIndex(c1->className()),
+ c2->className().data()+getPrefixIndex(c2->className()));
}
ClassListIterator::ClassListIterator(const ClassList &cllist) :