Commit 104161cf authored by Mark Harmstone's avatar Mark Harmstone Committed by Alexandre Julliard

ntdll: Treat strings as case-insensitive in find_window_class.

parent bb83e306
...@@ -3332,7 +3332,7 @@ static NTSTATUS find_window_class(ACTIVATION_CONTEXT* actctx, const UNICODE_STRI ...@@ -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); const WCHAR *nameW = (WCHAR*)((BYTE*)actctx->wndclass_section + iter->name_offset);
if (!strcmpW(nameW, name->Buffer)) if (!strcmpiW(nameW, name->Buffer))
{ {
index = iter; index = iter;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment