Add an assertion. Bug #4670.

svn path=/trunk/; revision=41831
This commit is contained in:
Dmitry Gorbachev 2009-07-09 14:56:59 +00:00
parent c70e3fd433
commit 52f4e2b161

View file

@ -733,6 +733,8 @@ WinPosInternalMoveWindow(PWINDOW_OBJECT Window, INT MoveX, INT MoveY)
{
PWINDOW_OBJECT Child;
ASSERT(Window != Window->FirstChild);
Window->Wnd->WindowRect.left += MoveX;
Window->Wnd->WindowRect.right += MoveX;
Window->Wnd->WindowRect.top += MoveY;