Author: tfaber
Date: Sun Jun 22 18:35:17 2014
New Revision: 63628
URL: http://svn.reactos.org/svn/reactos?rev=63628&view=rev
Log:
[CMAKE]
- Correctly include the license for CMakeParseArguments.cmake
Modified:
trunk/reactos/cmake/CMakeParseArguments.cmake
Modified: trunk/reactos/cmake/CMakeParseArguments.cmake
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/CMakeParseArguments.…
==============================================================================
--- trunk/reactos/cmake/CMakeParseArguments.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/CMakeParseArguments.cmake [iso-8859-1] Sun Jun 22 18:35:17 2014
@@ -63,15 +63,34 @@
#=============================================================================
# Copyright 2010 Alexander Neundorf <neundorf(a)kde.org>
#
-# Distributed under the OSI-approved BSD License (the "License");
-# see accompanying file Copyright.txt for details.
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
#
-# This software is distributed WITHOUT ANY WARRANTY; without even the
-# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the License for more information.
+# * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# * Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# * Neither the names of Kitware, Inc., the Insight Software Consortium,
+# nor the names of their contributors may be used to endorse or promote
+# products derived from this software without specific prior written
+# permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#=============================================================================
-# (To distribute this file outside of CMake, substitute the full
-# License text for the above reference.)
if(__CMAKE_PARSE_ARGUMENTS_INCLUDED)
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)