- Made the argument to W32kIsEmptyRect constant; fixes some warnings.
authorDavid Welch <welch@cwcom.net>
Sun, 27 Jul 2003 18:34:48 +0000 (18:34 +0000)
committerDavid Welch <welch@cwcom.net>
Sun, 27 Jul 2003 18:34:48 +0000 (18:34 +0000)
svn path=/trunk/; revision=5291

reactos/subsys/win32k/include/rect.h
reactos/subsys/win32k/objects/rect.c

index d05c2f6..26efcc8 100644 (file)
@@ -5,7 +5,7 @@ W32kSetRect(PRECT Rect, INT left, INT top, INT right, INT bottom);
 BOOL STDCALL
 W32kSetEmptyRect(PRECT Rect);
 BOOL STDCALL
-W32kIsEmptyRect(PRECT Rect);
+W32kIsEmptyRect(const RECT* Rect);
 BOOL STDCALL
 W32kIntersectRect(PRECT Dest, const RECT* Src1, const RECT* Src2);
 BOOL STDCALL
index b4bab5a..aab44fc 100644 (file)
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: rect.c,v 1.4 2003/05/18 17:16:18 ea Exp $ */
+/* $Id: rect.c,v 1.5 2003/07/27 18:34:47 dwelch Exp $ */
 #include <windows.h>
 #include <ddk/ntddk.h>
 #include <win32k/region.h>
@@ -79,7 +79,7 @@ W32kSetEmptyRect(PRECT Rect)
 }
 
 BOOL STDCALL
-W32kIsEmptyRect(PRECT Rect)
+W32kIsEmptyRect(const RECT* Rect)
 {
   return(Rect->left >= Rect->right || Rect->top >= Rect->bottom);
 }