mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
libui/windows: backport fix for #471
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user