From fbdc420d95e7da8ce7d44a9bab5b0771f81b8fca Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Sun, 29 Apr 2007 08:20:39 +0000 Subject: [PATCH] Terminate hWnd list. svn path=/trunk/; revision=26576 --- reactos/dll/win32/user32/windows/mdi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/dll/win32/user32/windows/mdi.c b/reactos/dll/win32/user32/windows/mdi.c index 05705fc0ab9..ff4d2ed5d2b 100644 --- a/reactos/dll/win32/user32/windows/mdi.c +++ b/reactos/dll/win32/user32/windows/mdi.c @@ -161,6 +161,8 @@ HWND* WIN_ListChildren (HWND hWndparent) return 0; } + pHwnd[dwCount] = (HWND) 0; + return pHwnd; }