Commit in reactos/subsys/win32k/eng on MAIN
paint.c+6-11.20 -> 1.21
surface.c+3-11.45 -> 1.46
+9-2
2 modified files
ASSERT parameter assumptions

reactos/subsys/win32k/eng
paint.c 1.20 -> 1.21
diff -u -r1.20 -r1.21
--- paint.c	3 Jul 2004 13:55:35 -0000	1.20
+++ paint.c	14 Dec 2004 04:55:43 -0000	1.21
@@ -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: paint.c,v 1.20 2004/07/03 13:55:35 navaraf Exp $
+/* $Id: paint.c,v 1.21 2004/12/14 04:55:43 royce Exp $
  * 
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -34,6 +34,8 @@
   LONG y;
   ULONG LineWidth;
 
+  ASSERT ( Surface );
+  ASSERT ( pRect );
   MouseSafetyOnDrawStart(Surface, pRect->left, pRect->top, pRect->right, pRect->bottom);
   LineWidth  = pRect->right - pRect->left;
   DPRINT(" LineWidth: %d, top: %d, bottom: %d\n", LineWidth, pRect->top, pRect->bottom);
@@ -55,6 +57,9 @@
   BOOL EnumMore;
   ULONG i;
 
+  ASSERT(Surface);
+  ASSERT(ClipRegion);
+
   DPRINT("ClipRegion->iMode:%d, ClipRegion->iDComplexity: %d\n Color: %d", ClipRegion->iMode, ClipRegion->iDComplexity, iColor);
   switch(ClipRegion->iMode) {
 

reactos/subsys/win32k/eng
surface.c 1.45 -> 1.46
diff -u -r1.45 -r1.46
--- surface.c	12 Dec 2004 01:40:36 -0000	1.45
+++ surface.c	14 Dec 2004 04:55:43 -0000	1.46
@@ -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: surface.c,v 1.45 2004/12/12 01:40:36 weiden Exp $
+/* $Id: surface.c,v 1.46 2004/12/14 04:55:43 royce Exp $
  * 
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -472,6 +472,8 @@
 		RECTL *Rect,
 		ULONG iColor)
 {
+  ASSERT(Surface);
+  ASSERT(Rect);
   return FillSolid(Surface, Rect, iColor);
 }
 
CVSspam 0.2.8