Mark Harmstone : ntdll: Treat strings as case-insensitive in find_window_class.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Mar 30 10:12:59 CDT 2015


Module: wine
Branch: master
Commit: 104161cfd29b20d3720cb9e88d3398511e21b794
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=104161cfd29b20d3720cb9e88d3398511e21b794

Author: Mark Harmstone <hellas at burntcomma.com>
Date:   Sat Mar 28 21:24:49 2015 +0000

ntdll: Treat strings as case-insensitive in find_window_class.

---

 dlls/ntdll/actctx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c
index 4552e40..715a760 100644
--- a/dlls/ntdll/actctx.c
+++ b/dlls/ntdll/actctx.c
@@ -3332,7 +3332,7 @@ static NTSTATUS find_window_class(ACTIVATION_CONTEXT* actctx, const UNICODE_STRI
         {
             const WCHAR *nameW = (WCHAR*)((BYTE*)actctx->wndclass_section + iter->name_offset);
 
-            if (!strcmpW(nameW, name->Buffer))
+            if (!strcmpiW(nameW, name->Buffer))
             {
                 index = iter;
                 break;




More information about the wine-cvs mailing list