projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
accidently lowered warning level in one of my commits. raised it to -Wall -W -Werror...
[supertux.git]
/
src
/
control
/
joystickkeyboardcontroller.cpp
diff --git
a/src/control/joystickkeyboardcontroller.cpp
b/src/control/joystickkeyboardcontroller.cpp
index
83cbdbc
..
06ffd06
100644
(file)
--- a/
src/control/joystickkeyboardcontroller.cpp
+++ b/
src/control/joystickkeyboardcontroller.cpp
@@
-520,7
+520,7
@@
JoystickKeyboardController::check_cheatcode(const std::string& cheatcode)
return false;
}
- for(
in
t i = 0; i < cheatcode.size(); ++i) {
+ for(
size_
t i = 0; i < cheatcode.size(); ++i) {
if(last_keys[sizeof(last_keys)-1 - i] != cheatcode[cheatcode.size()-1-i])
return false;
}