Author: jimtabor Date: Wed Jul 4 22:47:55 2012 New Revision: 56830
URL: http://svn.reactos.org/svn/reactos?rev=56830&view=rev Log: [Win32k] - Fix debug and a spurious error during WinPos related tests.
Modified: trunk/reactos/win32ss/user/ntuser/windc.c
Modified: trunk/reactos/win32ss/user/ntuser/windc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/windc.c... ============================================================================== --- trunk/reactos/win32ss/user/ntuser/windc.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/ntuser/windc.c [iso-8859-1] Wed Jul 4 22:47:55 2012 @@ -362,8 +362,8 @@ } /* else // For Testing! { - DPRINT1("We have POWNER!!\n"); - if (Window->Dce) DPRINT1("We have POWNER with DCE!!\n"); + ERR("We have POWNER!!\n"); + if (Window->Dce) ERR("We have POWNER with DCE!!\n"); } */ if (Wnd->style & WS_CLIPSIBLINGS) @@ -837,7 +837,10 @@ } else { - CurrentWindow = UserGetWindowObject(pDCE->hwndCurrent); + if (!pDCE->hwndCurrent) + CurrentWindow = NULL; + else + CurrentWindow = UserGetWindowObject(pDCE->hwndCurrent); if (NULL == CurrentWindow) { pLE = pDCE->List.Flink;