diff test/testkeys.c @ 1668:4da1ee79c9af SDL-1.3

more tweaking indent options
author Sam Lantinga <slouken@libsdl.org>
date Mon, 29 May 2006 04:04:35 +0000
parents 782fd950bd46
children
line wrap: on
line diff
--- a/test/testkeys.c	Mon May 29 03:53:21 2006 +0000
+++ b/test/testkeys.c	Mon May 29 04:04:35 2006 +0000
@@ -9,17 +9,17 @@
 #include "SDL.h"
 
 int
-main (int argc, char *argv[])
+main(int argc, char *argv[])
 {
     SDLKey key;
 
-    if (SDL_Init (SDL_INIT_VIDEO) < 0) {
-        fprintf (stderr, "Couldn't initialize SDL: %s\n", SDL_GetError ());
-        exit (1);
+    if (SDL_Init(SDL_INIT_VIDEO) < 0) {
+        fprintf(stderr, "Couldn't initialize SDL: %s\n", SDL_GetError());
+        exit(1);
     }
     for (key = SDLK_FIRST; key < SDLK_LAST; ++key) {
-        printf ("Key #%d, \"%s\"\n", key, SDL_GetKeyName (key));
+        printf("Key #%d, \"%s\"\n", key, SDL_GetKeyName(key));
     }
-    SDL_Quit ();
+    SDL_Quit();
     return (0);
 }