Skip to content
Snippets Groups Projects
Commit 4a6af35b authored by Guy Albertelli's avatar Guy Albertelli Committed by Alexandre Julliard
Browse files

Handle null wndPtr for mdi window.

parent d6ade697
No related branches found
No related tags found
No related merge requests found
......@@ -1126,6 +1126,13 @@ LRESULT WINAPI DefFrameProc16( HWND16 hwnd, HWND16 hwndMDIClient,
{
case WM_COMMAND:
wndPtr = WIN_FindWndPtr(hwndMDIClient);
if (!wndPtr) {
ERR(mdi,"null wndPtr for mdi window hwndMDIClient=%04x\n",
hwndMDIClient);
return 0;
}
ci = (MDICLIENTINFO*)wndPtr->wExtra;
/* check for possible syscommands for maximized MDI child */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment