[ros-diffs] [gschneider] 47001: [WIN32K] pLogPen cannot be NULL (static buffer), check pExtLogPen instead
gschneider at svn.reactos.org
gschneider at svn.reactos.org
Fri Apr 23 17:58:13 CEST 2010
Author: gschneider
Date: Fri Apr 23 17:58:13 2010
New Revision: 47001
URL: http://svn.reactos.org/svn/reactos?rev=47001&view=rev
Log:
[WIN32K] pLogPen cannot be NULL (static buffer), check pExtLogPen instead
Modified:
branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c
Modified: branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c?rev=47001&r1=47000&r2=47001&view=diff
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/gdi/dc.c [iso-8859-1] Fri Apr 23 17:58:13 2010
@@ -360,7 +360,7 @@
if (pDC->pLineBrush) GreFreeBrush(pDC->pLineBrush);
/* Create the pen */
- if (pLogPen)
+ if (!pExtLogPen)
{
pDC->pLineBrush =
GreCreatePen(pLogPen->lopnStyle,
More information about the Ros-diffs
mailing list