test/testgamecontroller.c
changeset 7191 75360622e65f
parent 7056 a5699778d80f
child 7478 0d02f6a323f5
     1.1 --- a/test/testgamecontroller.c	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/test/testgamecontroller.c	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -125,7 +125,7 @@
     1.4  
     1.5      /* Print info about the controller we are watching */
     1.6      printf("Watching controller %s\n",  name ? name : "Unknown Controller");
     1.7 -    
     1.8 +
     1.9      /* Loop, getting controller events! */
    1.10      while (!done) {
    1.11          /* blank screen, set up for drawing this frame. */
    1.12 @@ -199,7 +199,7 @@
    1.13          SDL_SetRenderDrawColor(screen, 0x00, 0x00, 0xFF, SDL_ALPHA_OPAQUE);
    1.14  
    1.15          SDL_RenderPresent(screen);
    1.16 -        
    1.17 +
    1.18          if ( !done )
    1.19              done = SDL_GameControllerGetAttached( gamecontroller ) == 0;
    1.20      }