Author: tfaber
Date: Sat Jun 21 11:07:51 2014
New Revision: 63624
URL:
http://svn.reactos.org/svn/reactos?rev=63624&view=rev
Log:
[WIN32K]
- Pass a boolean argument to RtlEqualUnicodeString
Modified:
trunk/reactos/win32ss/gdi/eng/ldevobj.c
trunk/reactos/win32ss/user/ntuser/desktop.c
Modified: trunk/reactos/win32ss/gdi/eng/ldevobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/ldevobj.c?…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/ldevobj.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/ldevobj.c [iso-8859-1] Sat Jun 21 11:07:51 2014
@@ -382,7 +382,7 @@
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;
Modified: trunk/reactos/win32ss/user/ntuser/desktop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/deskto…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/desktop.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/desktop.c [iso-8859-1] Sat Jun 21 11:07:51 2014
@@ -72,7 +72,7 @@
/* 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)