From: Richard Rauch Date: Thu, 6 Nov 2003 23:40:21 +0000 (+0000) Subject: Ooops. I screwed up on part of John's fixes. Sorry. X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=9e880aa45091c604cffa4e564e395e2385c01e25;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@305 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_main.c b/src/freeglut_main.c index f4bd177..6c569d3 100644 --- a/src/freeglut_main.c +++ b/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;