mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[WIN32K] Fix uninitialized hNewMenu use in MENU_DoNextMenu.
See also: Wine's implementation. Powered by clang-cl.
This commit is contained in:
parent
0e75fc9240
commit
42657493ef
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue