Bug 4576: fix warning and compile

This commit is contained in:
Sylvain Becker
2019-04-02 17:57:27 +02:00
parent 9b3c2258aa
commit b45abbb2a7
4 changed files with 5 additions and 7 deletions

View File

@@ -528,7 +528,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
SDL_Mouse *mouse = SDL_GetMouse();
if (!mouse->relative_mode || mouse->relative_mode_warp) {
if ((GetMessageExtraInfo() & MOUSEEVENTF_FROMTOUCH) != MOUSEEVENTF_FROMTOUCH) {
WIN_CheckWParamMouseButtons(wParam, data, mouseID);
WIN_CheckWParamMouseButtons(wParam, data, 0);
}
}
}