From 73f4d1ff005b25341c46b9b75b3146b84a6bd174 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 21 Jun 2014 11:07:51 +0000 Subject: [PATCH] [WIN32K] - Pass a boolean argument to RtlEqualUnicodeString svn path=/trunk/; revision=63624 --- reactos/win32ss/gdi/eng/ldevobj.c | 2 +- reactos/win32ss/user/ntuser/desktop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/win32ss/gdi/eng/ldevobj.c b/reactos/win32ss/gdi/eng/ldevobj.c index ff1927d4ebc..2dcac3fb704 100644 --- a/reactos/win32ss/gdi/eng/ldevobj.c +++ b/reactos/win32ss/gdi/eng/ldevobj.c @@ -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; diff --git a/reactos/win32ss/user/ntuser/desktop.c b/reactos/win32ss/user/ntuser/desktop.c index ff2e1de5837..835af417c11 100644 --- a/reactos/win32ss/user/ntuser/desktop.c +++ b/reactos/win32ss/user/ntuser/desktop.c @@ -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)