From: Ben Shefte <shefben(a)gmail.com> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52446 Fixes a regression introduced by commit 250c113169217933b1fffa8024fa958f71b8aee7. Signed-off-by: Paul Gofman <pgofman(a)codeweavers.com> --- Supersedes 224209. v6: - make patch compile; - change subject; - use _stricmp() instead of stricmp(). changelog: v1-v4 -> 5 removed unicode code referemces Fixes Regression from: Wine 6.21 dlls/ntdll/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/loader.c b/dlls/ntdll/loader.c index 362e1c66be5..b50b9e61bbc 100644 --- a/dlls/ntdll/loader.c +++ b/dlls/ntdll/loader.c @@ -628,7 +628,7 @@ static BOOL is_import_dll_system( LDR_DATA_TABLE_ENTRY *mod, const IMAGE_IMPORT_ { const char *name = get_rva( mod->DllBase, import->Name ); - return !strcmp( name, "ntdll.dll" ) || !strcmp( name, "kernel32.dll" ); + return !_stricmp( name, "ntdll.dll" ) || !_stricmp( name, "kernel32.dll" ); } /********************************************************************** -- 2.34.1