aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/WindowsWindow.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-09-11 01:34:27 -0700
committerSven Gothel <[email protected]>2009-09-11 01:34:27 -0700
commit8d4ab1184acf82c015f3268a201bb6b01bb59add (patch)
tree508a30d13d818cf81f5a53160aa5d449d7f0dc27 /src/newt/native/WindowsWindow.c
parent8363a11c29c49a1334deeed2a8f060ca4804892e (diff)
parent2e550f9fe080de8ecf23059a38e77b13669805b5 (diff)
Merge branch 'master' of ssh://git.kenai.com/jogl~jogl-git
Diffstat (limited to 'src/newt/native/WindowsWindow.c')
-rwxr-xr-xsrc/newt/native/WindowsWindow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c
index 5628fac81..edc3f0796 100755
--- a/src/newt/native/WindowsWindow.c
+++ b/src/newt/native/WindowsWindow.c
@@ -833,7 +833,7 @@ static LRESULT CALLBACK wndProc(HWND wnd, UINT message,
(jint) EVENT_MOUSE_WHEEL_MOVED,
GetModifiers(),
(jint) eventPt.x, (jint) eventPt.y,
- (jint) 0, (jint) GET_WHEEL_DELTA_WPARAM(wParam));
+ (jint) 0, (jint) (GET_WHEEL_DELTA_WPARAM(wParam)/120.0f));
useDefWindowProc = 1;
break;
}