test/testkeys.c
changeset 1895 c121d94672cb
parent 1154 d93862a3d821
child 2306 1a8bab15a45d
--- a/test/testkeys.c	Thu Jul 06 18:01:37 2006 +0000
+++ b/test/testkeys.c	Mon Jul 10 21:04:37 2006 +0000
@@ -8,18 +8,18 @@
 
 #include "SDL.h"
 
-int main(int argc, char *argv[])
+int
+main(int argc, char *argv[])
 {
-	SDLKey key;
+    SDLKey key;
 
-	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));
-	}
-	SDL_Quit();
-	return(0);
+    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));
+    }
+    SDL_Quit();
+    return (0);
 }