From 105afce7a5485cb8af0ec37274d389a8f7d6d080 Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Fri, 19 Feb 1999 15:33:59 +0000 Subject: [PATCH] Initialized return value of 16->32 conversion of WM_MDIGETACTIVE in case it's sent to a window that doesn't handle it (i.e. not MDI client). --- windows/winproc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/winproc.c b/windows/winproc.c index c00c182b91a..396c9c18e0f 100644 --- a/windows/winproc.c +++ b/windows/winproc.c @@ -981,6 +981,7 @@ INT32 WINPROC_MapMsg16To32A( UINT16 msg16, WPARAM16 wParam16, UINT32 *pmsg32, return 1; case WM_MDIGETACTIVE: *plparam = (LPARAM)HeapAlloc( SystemHeap, 0, sizeof(BOOL32) ); + *(BOOL32*)(*plparam) = 0; return 1; case WM_MDISETMENU: if(wParam16==TRUE)