diff options
Diffstat (limited to 'src/define.h')
-rw-r--r-- | src/define.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/define.h b/src/define.h index 8778a54..1e39ff5 100644 --- a/src/define.h +++ b/src/define.h @@ -53,7 +53,7 @@ class DefineList : public QList<Define> ~DefineList() {} int compareItems(GCI i1,GCI i2) { - return strcmp(((Define *)i1)->name,((Define *)i2)->name); + return strcasecmp(((Define *)i1)->name,((Define *)i2)->name); } }; @@ -65,7 +65,7 @@ class DefineName : public QList<Define> const char *nameString() const { return name; } int compareItems(GCI i1,GCI i2) { - return strcmp(((Define *)i1)->name,((Define *)i2)->name); + return strcasecmp(((Define *)i1)->name,((Define *)i2)->name); } private: |