[WIN32SS][NTUSER] Fix popup menu freezing

This commit is contained in:
Katayama Hirofumi MZ 2019-08-10 15:40:32 +09:00
parent 2b526bceac
commit 03adec8141

View file

@ -2803,7 +2803,8 @@ static BOOL MENU_InitPopup( PWND pWndOwner, PMENU menu, UINT flags )
if (flags & TPM_LAYOUTRTL || pWndOwner->ExStyle & WS_EX_LAYOUTRTL)
ex_style |= WS_EX_LAYOUTRTL;
RtlInitUnicodeString(&ClassName, WC_MENU);
ClassName.Buffer = WC_MENU;
ClassName.Length = 0;
RtlZeroMemory(&WindowName, sizeof(WindowName));
RtlZeroMemory(&Cs, sizeof(Cs));