mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
libui/windows: backport fix for #471
This commit is contained in:
parent
49b2f8d969
commit
58575f82b7
@ -95,7 +95,7 @@ static LRESULT CALLBACK windowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA
|
||||
// not a menu
|
||||
if (lParam != 0)
|
||||
break;
|
||||
if (HIWORD(wParam) != 0)
|
||||
if (HIWORD(wParam) != 0 || LOWORD(wParam) <= IDCANCEL)
|
||||
break;
|
||||
runMenuEvent(LOWORD(wParam), uiWindow(w));
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user