test/testhotplug.c
changeset 9922 b066d5fd5fa7
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
     1.1 --- a/test/testhotplug.c	Wed Nov 25 21:31:02 2015 +0100
     1.2 +++ b/test/testhotplug.c	Wed Nov 25 21:39:28 2015 +0100
     1.3 @@ -42,7 +42,7 @@
     1.4      }
     1.5      
     1.6      /* Enable standard application logging */
     1.7 -    SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);	
     1.8 +    SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
     1.9  
    1.10      SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
    1.11  
    1.12 @@ -134,10 +134,10 @@
    1.13                      {
    1.14                          SDL_HapticRumblePlay(haptic, 0.25, 250);
    1.15                      }
    1.16 -					if (event.jbutton.button == 0) {
    1.17 -						SDL_Log("Exiting due to button press of button 0\n");
    1.18 -						keepGoing = SDL_FALSE;
    1.19 -					}
    1.20 +                    if (event.jbutton.button == 0) {
    1.21 +                        SDL_Log("Exiting due to button press of button 0\n");
    1.22 +                        keepGoing = SDL_FALSE;
    1.23 +                    }
    1.24                      break;
    1.25                  case SDL_JOYBUTTONUP:
    1.26                      SDL_Log("Button Release: %d\n", event.jbutton.button);