foxygit / doom Log in
commit f14065d0dc03ee2a67f60f513b941c46e73a915c
Author:     Mike Swanson <mikeonthecomputer@gmail.com>
AuthorDate: Thu May 1 14:01:31 2014 -0700
Commit:     Mike Swanson <mikeonthecomputer@gmail.com>
CommitDate: Thu May 1 14:01:31 2014 -0700

    setup: fix usejoystick/use_joystick typo in the previous commit
---
 src/setup/joystick.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 792c1712..709ad34c 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -505,7 +505,7 @@ static int CalibrationEventCallback(SDL_Event *event, void *user_data)
             // Finished?
             if (calibrate_stage == CALIBRATE_CENTER)
             {
-                use_joystick = 1;
+                usejoystick = 1;
                 TXT_CloseWindow(calibration_window);
             }