projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394aff4
)
Possible fix for expression that's always false
author
Tobias Markus
<tobbi@mozilla-uk.org>
Sun, 1 Mar 2015 21:36:25 +0000
(22:36 +0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Sun, 1 Mar 2015 21:36:25 +0000
(22:36 +0100)
src/supertux/menu/joystick_menu.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/menu/joystick_menu.cpp
b/src/supertux/menu/joystick_menu.cpp
index
bd11c9a
..
adde0c5
100644
(file)
--- a/
src/supertux/menu/joystick_menu.cpp
+++ b/
src/supertux/menu/joystick_menu.cpp
@@
-163,9
+163,9
@@
JoystickMenu::refresh_menu_item(Controller::Control id)
name << "X";
else if (abs(axis) == 2)
name << "Y";
- else if (abs(axis) == 2)
- name << "X2";
else if (abs(axis) == 3)
+ name << "X2";
+ else if (abs(axis) == 4)
name << "Y2";
else
name << abs(axis);