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

another fix for a typo

This commit is contained in:
FunkyFr3sh 2021-06-17 07:40:31 +02:00
parent c93af0918b
commit 801d677af1

View File

@ -697,7 +697,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
y = min(y, g_ddraw->height);
InterlockedExchange((LONG*)&g_ddraw->cursor.x, x);
InterlockedExchange((LONG*)&g_ddraw->cursor.y, x);
InterlockedExchange((LONG*)&g_ddraw->cursor.y, y);
lParam = MAKELPARAM(x, y);