diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-05 09:45:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-05 09:45:20 +0000 |
commit | ccc9daa5265aac69fbda3bb5cec6d2d8175000ed (patch) | |
tree | eb66f52e1967a59c54b1f50579f37f56d09dafb4 /src | |
parent | 710160e44eefb75153ff5b51add6c39fc74f4ac9 (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')
-rw-r--r-- | src/mir_core/utils.cpp | 2 |
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)
{
|