summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/favlist.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-30 21:20:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-30 21:20:14 +0000
commitd9c98bcdfca6da51a1a82dc6c0dc5996b3b6cd6d (patch)
treea6f925c63bc31e4b4dba301183cc3b429d52d816 /plugins/FavContacts/src/favlist.h
parentce2d4f19e3f810b282eb7d47d470d426ff459e1f (diff)
new sorting functions applied
git-svn-id: http://svn.miranda-ng.org/main/trunk@11180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FavContacts/src/favlist.h')
-rw-r--r--plugins/FavContacts/src/favlist.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FavContacts/src/favlist.h b/plugins/FavContacts/src/favlist.h
index e3adeabec7..c8adf21ca1 100644
--- a/plugins/FavContacts/src/favlist.h
+++ b/plugins/FavContacts/src/favlist.h
@@ -56,8 +56,8 @@ public:
}
int res = 0;
- if (res = lstrcmp(p1->group, p2->group)) return res;
- if (res = lstrcmp(p1->name, p2->name)) return res;
+ if (res = mir_tstrcmp(p1->group, p2->group)) return res;
+ if (res = mir_tstrcmp(p1->name, p2->name)) return res;
return 0;
}
};
@@ -85,7 +85,7 @@ private:
TContactInfo *info = new TContactInfo(hContact, bManual);
insert(info);
TCHAR *group = info->getGroup();
- if (prevGroup && lstrcmp(prevGroup, group))
+ if (prevGroup && mir_tstrcmp(prevGroup, group))
++nGroups;
prevGroup = group;
return 1;