Revert that last commit, the wrappers already handle the offset

--HG--
branch : minor
This commit is contained in:
Bart van Strien
2011-01-17 11:22:59 +01:00
parent df50a6e4c5
commit f7bcb3e146
+1 -1
View File
@@ -68,7 +68,7 @@ namespace sdl
bool Joystick::checkIndex(int index)
{
return index > 0 && index <= getNumJoysticks();
return index >= 0 && index < getNumJoysticks();
}
int Joystick::getNumJoysticks()