From 2ff70b671cd4d042dc029efd1d21ba8065d69bac Mon Sep 17 00:00:00 2001 From: rkrolib Date: Thu, 6 Nov 2003 23:40:21 +0000 Subject: [PATCH] Ooops. I screwed up on part of John's fixes. Sorry. I think that I have his fix properly committed now. Mea culpa. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@305 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeglut/freeglut/src/freeglut_main.c b/freeglut/freeglut/src/freeglut_main.c index f4bd177..6c569d3 100644 --- a/freeglut/freeglut/src/freeglut_main.c +++ b/freeglut/freeglut/src/freeglut_main.c @@ -1415,7 +1415,7 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, { int wheel_number = LOWORD( wParam ); /* THIS IS SPECULATIVE -- John Fay, 10/2/03 */ - short ticks = HIWORD( lParam ) / 120; + short ticks = HIWORD( wParam ) / 120; /* Should be WHEEL_DELTA instead of 120 */ int direction = 1;