Commit in reactos/subsys/win32k/eng on MAIN
gradient.c+5-21.12 -> 1.13
ASSERT parameter assumptions in IntEngGradientFill()

reactos/subsys/win32k/eng
gradient.c 1.12 -> 1.13
diff -u -r1.12 -r1.13
--- gradient.c	12 Dec 2004 21:43:17 -0000	1.12
+++ gradient.c	14 Dec 2004 04:26:49 -0000	1.13
@@ -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.12 2004/12/12 21:43:17 royce Exp $
+/* $Id: gradient.c,v 1.13 2004/12/14 04:26:49 royce Exp $
  * 
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -528,7 +528,10 @@
     IN ULONG  ulMode)
 {
   BOOL Ret;
-  SURFOBJ *psoDest = &pboDest->SurfObj;
+  SURFOBJ *psoDest;
+  ASSERT(pboDest && psoDest && pco);
+
+  psoDest = &pboDest->SurfObj;
   ASSERT(psoDest);
   
   MouseSafetyOnDrawStart(
CVSspam 0.2.8