projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Caught a few more little style issues.
[freeglut]
/
src
/
freeglut_joystick.c
diff --git
a/src/freeglut_joystick.c
b/src/freeglut_joystick.c
index
32ba917
..
1b2285b
100644
(file)
--- a/
src/freeglut_joystick.c
+++ b/
src/freeglut_joystick.c
@@
-241,7
+241,7
@@
static void fghJoystickRawRead ( SFG_Joystick* joy, int* buttons, float* axes )
case JS_EVENT_BUTTON:
if ( joy->js.value == 0 ) /* clear the flag */
joy->tmp_buttons &= ~(1 << joy->js.number);
- else
+ else
joy->tmp_buttons |= (1 << joy->js.number);
break;