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).
This commit is contained in:
parent
077c2732b8
commit
105afce7a5
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue