projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2246380
)
Ooops. I screwed up on part of John's fixes. Sorry.
author
Richard Rauch
<rkr@olib.org>
Thu, 6 Nov 2003 23:40:21 +0000
(23:40 +0000)
committer
Richard Rauch
<rkr@olib.org>
Thu, 6 Nov 2003 23:40:21 +0000
(23:40 +0000)
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
src/freeglut_main.c
patch
|
blob
|
history
diff --git
a/src/freeglut_main.c
b/src/freeglut_main.c
index
f4bd177
..
6c569d3
100644
(file)
--- 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;