From 71b125ad4f285827fc80da5a2f19dbbfa5d6a542 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Thu, 3 Jul 2008 05:58:33 +0000 Subject: [PATCH] Fix MSVC issue. svn path=/trunk/; revision=34271 --- reactos/subsystems/win32/win32k/ntuser/focus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/ntuser/focus.c b/reactos/subsystems/win32/win32k/ntuser/focus.c index c4c302b53be..655bc2a4ea8 100644 --- a/reactos/subsystems/win32/win32k/ntuser/focus.c +++ b/reactos/subsystems/win32/win32k/ntuser/focus.c @@ -108,7 +108,8 @@ co_IntSendActivateMessages(HWND hWndPrev, HWND hWnd, BOOL MouseActivate) if (OldTID != NewTID) { - if ((List = IntWinListChildren(UserGetWindowObject(IntGetDesktopWindow())))) + List = IntWinListChildren(UserGetWindowObject(IntGetDesktopWindow())); + if (List) { for (phWnd = List; *phWnd; ++phWnd) {