Author: gschneider
Date: Tue Aug 11 21:50:42 2009
New Revision: 42627
URL:
http://svn.reactos.org/svn/reactos?rev=42627&view=rev
Log:
Amendment to r42615: add the check in the correct line
Modified:
trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c
Modified: trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/di…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/dib/stretchblt.c [iso-8859-1] Tue Aug 11
21:50:42 2009
@@ -144,9 +144,9 @@
}
}
- if (UsesPattern && CanDraw)
+ if (CanDraw)
{
- if (PatternSurface)
+ if (UsesPattern && PatternSurface)
{
Pattern = fnPattern_GetPixel(PatternSurface, PatternX, PatternY);
PatternX++;