From 948a1f90457b53dd6d78d5279ef6610fc26eed65 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Wed, 4 Oct 2006 18:46:57 +0000 Subject: [PATCH] Fix almost the same bug in LdrGetProcedureAddress as in r24397 svn path=/trunk/; revision=24398 --- reactos/subsystems/win32/win32k/ldr/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ldr/loader.c b/reactos/subsystems/win32/win32k/ldr/loader.c index 8fb5a5ca876..a63eb950ccf 100644 --- a/reactos/subsystems/win32/win32k/ldr/loader.c +++ b/reactos/subsystems/win32/win32k/ldr/loader.c @@ -66,7 +66,7 @@ LdrGetProcedureAddress (IN PVOID BaseAddress, NamePtr = (PULONG)((ULONG_PTR)BaseAddress + (ULONG)ExportDir->AddressOfNames); for( i = 0; i < ExportDir->NumberOfNames; i++, NamePtr++, OrdinalPtr++) { - if (!_strnicmp(Name->Buffer, (char*)((ULONG_PTR)BaseAddress + *NamePtr), Name->Length)) + if (!strcmp(Name->Buffer, (char*)((ULONG_PTR)BaseAddress + *NamePtr))) { *ProcedureAddress = (PVOID)((ULONG_PTR)BaseAddress + (ULONG)AddressPtr[*OrdinalPtr]); return STATUS_SUCCESS;