From 39c41bb952d29df7e1e4e6884390f086dcd81194 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Tue, 10 Feb 2015 20:40:03 +0100 Subject: [PATCH] Fixed bug 2873 - Joystick test won't reload after reattach lectem -plug in the joystick -start testjoystick 0 -unplug -replug The joystick is detected but doesn't enter the loop anymore since done==SDL_TRUE --- test/testjoystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testjoystick.c b/test/testjoystick.c index 232213a69c696..3b2b5bf40b7fa 100644 --- a/test/testjoystick.c +++ b/test/testjoystick.c @@ -176,7 +176,7 @@ WatchJoystick(SDL_Joystick * joystick) { SDL_Window *window = NULL; const char *name = NULL; - + done = SDL_FALSE; /* Create a window to display joystick axis position */ window = SDL_CreateWindow("Joystick Test", SDL_WINDOWPOS_CENTERED,