1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

add VK_RETURN check

This commit is contained in:
FunkyFr3sh 2021-06-02 22:34:21 +02:00
parent e82b19fb78
commit eb25b2aa03

View File

@ -555,7 +555,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
g_ddraw->alt_key_down = FALSE;
}
if (wParam == VK_TAB)
if (wParam == VK_TAB || wParam == VK_RETURN)
{
return DefWindowProc(hWnd, uMsg, wParam, lParam);
}