Commit 105afce7 authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

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).
parent 077c2732
...@@ -981,6 +981,7 @@ INT32 WINPROC_MapMsg16To32A( UINT16 msg16, WPARAM16 wParam16, UINT32 *pmsg32, ...@@ -981,6 +981,7 @@ INT32 WINPROC_MapMsg16To32A( UINT16 msg16, WPARAM16 wParam16, UINT32 *pmsg32,
return 1; return 1;
case WM_MDIGETACTIVE: case WM_MDIGETACTIVE:
*plparam = (LPARAM)HeapAlloc( SystemHeap, 0, sizeof(BOOL32) ); *plparam = (LPARAM)HeapAlloc( SystemHeap, 0, sizeof(BOOL32) );
*(BOOL32*)(*plparam) = 0;
return 1; return 1;
case WM_MDISETMENU: case WM_MDISETMENU:
if(wParam16==TRUE) if(wParam16==TRUE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment