test/testkeys.c
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
     1.1 --- a/test/testkeys.c	Mon May 29 03:53:21 2006 +0000
     1.2 +++ b/test/testkeys.c	Mon May 29 04:04:35 2006 +0000
     1.3 @@ -9,17 +9,17 @@
     1.4  #include "SDL.h"
     1.5  
     1.6  int
     1.7 -main (int argc, char *argv[])
     1.8 +main(int argc, char *argv[])
     1.9  {
    1.10      SDLKey key;
    1.11  
    1.12 -    if (SDL_Init (SDL_INIT_VIDEO) < 0) {
    1.13 -        fprintf (stderr, "Couldn't initialize SDL: %s\n", SDL_GetError ());
    1.14 -        exit (1);
    1.15 +    if (SDL_Init(SDL_INIT_VIDEO) < 0) {
    1.16 +        fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
    1.17 +        exit(1);
    1.18      }
    1.19      for (key = SDLK_FIRST; key < SDLK_LAST; ++key) {
    1.20 -        printf ("Key #%d, \"%s\"\n", key, SDL_GetKeyName (key));
    1.21 +        printf("Key #%d, \"%s\"\n", key, SDL_GetKeyName(key));
    1.22      }
    1.23 -    SDL_Quit ();
    1.24 +    SDL_Quit();
    1.25      return (0);
    1.26  }