diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-06-18 15:59:38 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-06-20 12:32:55 +0100 |
commit | e872f42282e48def480db48745d16523e95822ec (patch) | |
tree | 1be012afdecfe908d505292a529dcc859f59e16f | |
parent | cc4c0e6c87bbefa9d0b5786cebd2f7362e307acd (diff) | |
download | mupdf-e872f42282e48def480db48745d16523e95822ec.tar.xz |
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.
-rw-r--r-- | platform/x11/win_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |