summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/_strfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/_strfunc.h')
-rw-r--r--plugins/HistoryStats/src/_strfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/_strfunc.h b/plugins/HistoryStats/src/_strfunc.h
index c0a7a1084f..f00af2f367 100644
--- a/plugins/HistoryStats/src/_strfunc.h
+++ b/plugins/HistoryStats/src/_strfunc.h
@@ -28,7 +28,7 @@ namespace ext
{
public:
static const WCHAR* chr(const WCHAR* string, WCHAR c) { return wcschr(string, c); }
- static int cmp(const WCHAR* string1, const WCHAR* string2) { return wcscmp(string1, string2); }
+ static int cmp(const WCHAR* string1, const WCHAR* string2) { return mir_wstrcmp(string1, string2); }
static int icmp(const WCHAR* string1, const WCHAR* string2) { return _wcsicmp(string1, string2); }
static int coll(const WCHAR* string1, const WCHAR* string2) { return wcscoll(string1, string2); }
static int icoll(const WCHAR* string1, const WCHAR* string2) { return _wcsicoll(string1, string2); }