Commit in reactos/subsys/win32k/eng on MAIN
gradient.c+8-31.11 -> 1.12
add missing assertion

reactos/subsys/win32k/eng
gradient.c 1.11 -> 1.12
diff -u -r1.11 -r1.12
--- gradient.c	15 Nov 2004 23:10:41 -0000	1.11
+++ gradient.c	12 Dec 2004 21:43:17 -0000	1.12
@@ -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: gradient.c,v 1.11 2004/11/15 23:10:41 gvg Exp $
+/* $Id: gradient.c,v 1.12 2004/12/12 21:43:17 royce Exp $
  * 
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -529,9 +529,14 @@
 {
   BOOL Ret;
   SURFOBJ *psoDest = &pboDest->SurfObj;
+  ASSERT(psoDest);
   
-  MouseSafetyOnDrawStart(psoDest, pco->rclBounds.left, pco->rclBounds.top, 
-                         pco->rclBounds.right, pco->rclBounds.bottom);
+  MouseSafetyOnDrawStart(
+	  psoDest,
+	  pco->rclBounds.left,
+	  pco->rclBounds.top, 
+      pco->rclBounds.right,
+	  pco->rclBounds.bottom);
   if((psoDest->iType != STYPE_BITMAP) && (pboDest->flHooks & HOOK_GRADIENTFILL))
   {
     Ret = GDIDEVFUNCS(psoDest).GradientFill(
CVSspam 0.2.8