[WIN32K]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 21 Jun 2014 11:07:51 +0000 (11:07 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 21 Jun 2014 11:07:51 +0000 (11:07 +0000)
- Pass a boolean argument to RtlEqualUnicodeString

svn path=/trunk/; revision=63624

reactos/win32ss/gdi/eng/ldevobj.c
reactos/win32ss/user/ntuser/desktop.c

index ff1927d..2dcac3f 100644 (file)
@@ -382,7 +382,7 @@ EngLoadImageEx(
         if (pldev->pGdiDriverInfo)
         {
             /* Check for match (case insensative) */
-            if (RtlEqualUnicodeString(&pldev->pGdiDriverInfo->DriverName, &strDriverName, 1))
+            if (RtlEqualUnicodeString(&pldev->pGdiDriverInfo->DriverName, &strDriverName, TRUE))
             {
                 /* Image found in LDEV list */
                 break;
index ff2e1de..835af41 100644 (file)
@@ -72,7 +72,7 @@ IntDesktopObjectParse(IN PVOID ParseObject,
         /* Compare the name */
         if (RtlEqualUnicodeString(RemainingName,
                                   &DesktopName,
-                                  (Attributes & OBJ_CASE_INSENSITIVE)))
+                                  (Attributes & OBJ_CASE_INSENSITIVE) != 0))
         {
             /* We found a match. Did this come from a create? */
             if (Context)