From e872f42282e48def480db48745d16523e95822ec Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Sat, 18 Jun 2016 15:59:38 +0100 Subject: Bug 696835: Reverse zoom in/zoom out mouse controls. We had these reversed. Doesn't matter too much with a mouse, but matters a lot more on a touch screen when the same signals are used to do pinch zoom. --- platform/x11/win_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c index c686c240..0d7e3f66 100644 --- a/platform/x11/win_main.c +++ b/platform/x11/win_main.c @@ -1116,7 +1116,7 @@ viewproc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) /* Mouse wheel */ case WM_MOUSEWHEEL: - if ((signed short)HIWORD(wParam) > 0) + if ((signed short)HIWORD(wParam) <= 0) { handlemouse(oldx, oldy, 4, 1); handlemouse(oldx, oldy, 4, -1); -- cgit v1.2.3