From ccc9daa5265aac69fbda3bb5cec6d2d8175000ed Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 5 Jul 2014 09:45:20 +0000 Subject: fix for the case-insensitive comparison in wildcmpit git-svn-id: http://svn.miranda-ng.org/main/trunk@9688 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_core') 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) { -- cgit v1.2.3