mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[WIN32K] Fix uninitialized hNewMenu use in MENU_DoNextMenu.
See also: Wine's implementation. Powered by clang-cl.
This commit is contained in:
@@ -3813,6 +3813,7 @@ static LRESULT FASTCALL MENU_DoNextMenu(MTRACKER* pmt, UINT Vk, UINT wFlags)
|
||||
/* switch to the system menu */
|
||||
MenuTmp = get_win_sys_menu(hNewWnd);
|
||||
if (MenuTmp) hNewMenu = UserHMGetHandle(MenuTmp);
|
||||
else hNewMenu = NULL;
|
||||
}
|
||||
else
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user