summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist')
-rw-r--r--src/modules/clist/clistmod.cpp2
-rw-r--r--src/modules/clist/contact.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/clistmod.cpp b/src/modules/clist/clistmod.cpp
index 1ab5fd2c8f..81be885ba7 100644
--- a/src/modules/clist/clistmod.cpp
+++ b/src/modules/clist/clistmod.cpp
@@ -464,7 +464,7 @@ static INT_PTR CompareContacts(WPARAM wParam, LPARAM lParam)
nameb = cli.pfnGetContactDisplayName(b, 0);
//otherwise just compare names
- return _tcsicmp(namea, nameb);
+ return mir_tstrcmpi(namea, nameb);
}
/***************************************************************************************/
diff --git a/src/modules/clist/contact.cpp b/src/modules/clist/contact.cpp
index 64c2727c86..661d3040cf 100644
--- a/src/modules/clist/contact.cpp
+++ b/src/modules/clist/contact.cpp
@@ -130,7 +130,7 @@ int fnCompareContacts(const ClcContact* c1, const ClcContact* c2)
nameb = cli.pfnGetContactDisplayName(b, 0);
//otherwise just compare names
- return _tcsicmp(namea, nameb);
+ return mir_tstrcmpi(namea, nameb);
}
void fnSortContacts(void)