summaryrefslogtreecommitdiff
path: root/src/mir_core/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-05 09:45:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-05 09:45:20 +0000
commitccc9daa5265aac69fbda3bb5cec6d2d8175000ed (patch)
treeeb66f52e1967a59c54b1f50579f37f56d09dafb4 /src/mir_core/utils.cpp
parent710160e44eefb75153ff5b51add6c39fc74f4ac9 (diff)
fix for the case-insensitive comparison in wildcmpit
git-svn-id: http://svn.miranda-ng.org/main/trunk@9688 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core/utils.cpp')
-rw-r--r--src/mir_core/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/utils.cpp b/src/mir_core/utils.cpp
index 0da7cdadf8..69ad5de18e 100644
--- a/src/mir_core/utils.cpp
+++ b/src/mir_core/utils.cpp
@@ -184,7 +184,7 @@ MIR_CORE_DLL(int) wildcmpw(const WCHAR *name, const WCHAR *mask)
}
}
-#define _qtoupper(_c) (((_c) >= 'a' && (_c) <= 'z')?((_c)-('a'+'A')):(_c))
+#define _qtoupper(_c) (((_c) >= 'a' && (_c) <= 'z')?((_c)-'a'+'A'):(_c))
MIR_CORE_DLL(int) wildcmpi(const char *name, const char *mask)
{