From 9cff9f7701576549c32a81ebb35b7fc91dde8ceb Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Wed, 18 Feb 2004 12:21:57 +0000 Subject: [PATCH] roll back thomas's change, apparently it IS causing the problems, my build system is just being stupid. svn path=/trunk/; revision=8244 --- reactos/subsys/win32k/ntuser/winpos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/win32k/ntuser/winpos.c b/reactos/subsys/win32k/ntuser/winpos.c index 116d1eb6f6b..60e888422cb 100644 --- a/reactos/subsys/win32k/ntuser/winpos.c +++ b/reactos/subsys/win32k/ntuser/winpos.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: winpos.c,v 1.89 2004/02/17 17:43:09 weiden Exp $ +/* $Id: winpos.c,v 1.90 2004/02/18 12:21:57 rcampbell Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -1246,7 +1246,7 @@ WinPosSearchChildren(PWINDOW_OBJECT ScopeWin, POINT Point, PWINDOW_OBJECT Current; ExAcquireFastMutexUnsafe(&ScopeWin->ChildrenListLock); - Current = ScopeWin->LastChild; + Current = ScopeWin->FirstChild; while (Current) { if (Current->Style & WS_VISIBLE && @@ -1278,7 +1278,7 @@ WinPosSearchChildren(PWINDOW_OBJECT ScopeWin, POINT Point, ExReleaseFastMutexUnsafe(&ScopeWin->ChildrenListLock); return(0); } - Current = Current->PrevSibling; + Current = Current->NextSibling; } ExReleaseFastMutexUnsafe(&ScopeWin->ChildrenListLock); -- 2.17.1