summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/regexp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src/regexp')
-rw-r--r--plugins/SmileyAdd/src/regexp/WCPattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/regexp/WCPattern.cpp b/plugins/SmileyAdd/src/regexp/WCPattern.cpp
index 15ea5d5149..3081143e75 100644
--- a/plugins/SmileyAdd/src/regexp/WCPattern.cpp
+++ b/plugins/SmileyAdd/src/regexp/WCPattern.cpp
@@ -41,7 +41,7 @@ const unsigned long WCPattern::UNIX_LINE_MODE = 0x10;
#define is_alpha IsCharAlphaW
#if defined(_WIN32)
-#define str_icmp lstrcmpiW
+#define str_icmp mir_wstrcmpi
#elif defined(__CYGWIN__) || defined(__APPLE__)
#include <wctype.h>
static inline int str_icmp(const wchar_t * a, const wchar_t * b)