Author: jimtabor
Date: Fri Jan 29 03:07:31 2010
New Revision: 45311
URL:
http://svn.reactos.org/svn/reactos?rev=45311&view=rev
Log:
- Fix recursion when sweeping the DCE list.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/windc.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/windc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/windc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/windc.c [iso-8859-1] Fri Jan 29 03:07:31
2010
@@ -683,7 +683,8 @@
{
if (!pDCE) break;
if (IsListEmpty(&pDCE->List)) break;
- if (pDCE->hwndCurrent == Window->hSelf)
+ if ( pDCE->hwndCurrent == Window->hSelf &&
+ !(pDCE->DCXFlags & DCX_DCEEMPTY) )
{
if (!(pDCE->DCXFlags & DCX_CACHE)) /* owned or Class DCE*/
{