mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Cleanup
This commit is contained in:
parent
760fee18dd
commit
c576faae0c
3
deps/libui/win32/areascroll.cpp
vendored
3
deps/libui/win32/areascroll.cpp
vendored
@ -100,11 +100,10 @@ static void scroll(uiArea *a, int which, struct scrollParams *p, WPARAM wParam,
|
||||
|
||||
static void wheelscroll(uiArea *a, int which, struct scrollParams *p, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
int delta;
|
||||
int lines;
|
||||
UINT scrollAmount;
|
||||
int delta = GET_WHEEL_DELTA_WPARAM(wParam);
|
||||
|
||||
delta = GET_WHEEL_DELTA_WPARAM(wParam);
|
||||
if (SystemParametersInfoW(p->wheelSPIAction, 0, &scrollAmount, 0) == 0)
|
||||
// TODO use scrollAmount == 3 (for both v and h) instead?
|
||||
logLastError(L"error getting area wheel scroll amount");
|
||||
|
Loading…
x
Reference in New Issue
Block a user