[ros-diffs] [jimtabor] 45311: - Fix recursion when sweeping the DCE list.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Fri Jan 29 03:07:31 CET 2010


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/ntuser/windc.c?rev=45311&r1=45310&r2=45311&view=diff
==============================================================================
--- 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*/
         {




More information about the Ros-diffs mailing list