Commit edd3d4af authored by Noomen Hamza's avatar Noomen Hamza Committed by Alexandre Julliard

MDIDestroyChild: MDI window menu item was deleted only if the current

destroyed child was active.
parent b3f4bc87
......@@ -523,8 +523,9 @@ static LRESULT MDIDestroyChild( WND *w_parent, MDICLIENTINFO *ci,
MDI_ChildActivate(w_parent, 0);
}
MDI_MenuDeleteItem(w_parent, child);
}
MDI_MenuDeleteItem(w_parent, child);
WIN_ReleaseWndPtr(childPtr);
ci->nActiveChildren--;
......
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