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) {