Author: dgorbachev
Date: Thu Jul 9 18:56:59 2009
New Revision: 41831
URL:
http://svn.reactos.org/svn/reactos?rev=41831&view=rev
Log:
Add an assertion. Bug #4670.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/winpos.c [iso-8859-1] Thu Jul 9 18:56:59
2009
@@ -733,6 +733,8 @@
{
PWINDOW_OBJECT Child;
+ ASSERT(Window != Window->FirstChild);
+
Window->Wnd->WindowRect.left += MoveX;
Window->Wnd->WindowRect.right += MoveX;
Window->Wnd->WindowRect.top += MoveY;