summaryrefslogtreecommitdiffstats
path: root/src/packagedef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/packagedef.h')
-rw-r--r--src/packagedef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/packagedef.h b/src/packagedef.h
index 5b01dba..fbaefa5 100644
--- a/src/packagedef.h
+++ b/src/packagedef.h
@@ -56,6 +56,12 @@ class PackageSDict : public SDict<PackageDef>
{
public:
PackageSDict(int size) : SDict<PackageDef>(size) {}
+ int compareItems(GCI item1,GCI item2)
+ {
+ return stricmp(((PackageDef *)item1)->name(),
+ ((PackageDef *)item2)->name()
+ );
+ }
};
#endif