ref: 1e902b009f806bc8adc90d58335ecf51edc8fc58
parent: c26954a55942d9a72507109d1e9a8c34837cdd89
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Jan 6 13:38:45 EST 2020
Slight formatting tweak in Input.cpp
--- a/src/Input.cpp
+++ b/src/Input.cpp
@@ -64,8 +64,8 @@
numButtons = 32;
// Read whatever buttons actually exist
- int i;
- for (i = 0; i < numButtons; ++i)
+ int i = 0;
+ for (; i < numButtons; ++i)
{
if (SDL_JoystickGetButton(joystick, i) != 0)
status->bButton[i] = TRUE;
--
⑨