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
This commit is contained in:
rkrolib 2003-11-06 23:40:21 +00:00
parent 65dde7f632
commit 2ff70b671c

View File

@ -1415,7 +1415,7 @@ LRESULT CALLBACK fgWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam,
{ {
int wheel_number = LOWORD( wParam ); int wheel_number = LOWORD( wParam );
/* THIS IS SPECULATIVE -- John Fay, 10/2/03 */ /* 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 */ /* Should be WHEEL_DELTA instead of 120 */
int direction = 1; int direction = 1;