[Wine-patches] [eterhack 4/6] ntoskrnl.exe: Ignore service name case.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Май 20 13:01:54 MSD 2009


----------- следующая часть -----------
From aa80a6eb53ef8f99841a574adaa8caf4e77c22e4 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 8 May 2009 16:14:31 +0400
Subject: [eterhack 4/6] ntoskrnl.exe: Ignore service name case.

---
 dlls/ntoskrnl.exe/ntoskrnl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index e49915d..3c48459 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -685,7 +685,7 @@ DRIVER_OBJECT * CDECL __wine_get_driver_object( const WCHAR *service )
     EnterCriticalSection( &cs );
     LIST_FOR_EACH_ENTRY( drv, &Drivers, struct DriverInstance, entry )
     {
-        if (!strcmpW( drv->service, service ))
+        if (!strcmpiW( drv->service, service ))
         {
             driver_obj = drv->driver;
             break;
-- 
1.6.2.5



Подробная информация о списке рассылки Wine-patches