From 506fef5617755593a085c53c9fe02a2789bf4a9b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 15 Jul 2007 21:53:51 +0000 Subject: [PATCH] indent --- test/testjoystick.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/testjoystick.c b/test/testjoystick.c index d0af87583..827bcef4e 100644 --- a/test/testjoystick.c +++ b/test/testjoystick.c @@ -157,10 +157,11 @@ main(int argc, char *argv[]) printf("There are %d joysticks attached\n", SDL_NumJoysticks()); for (i = 0; i < SDL_NumJoysticks(); ++i) { name = SDL_JoystickName(i); - printf("Joystick %d: %s\n",i,name ? name : "Unknown Joystick"); + printf("Joystick %d: %s\n", i, name ? name : "Unknown Joystick"); joystick = SDL_JoystickOpen(i); if (joystick == NULL) { - fprintf(stderr, "SDL_JoystickOpen(%d) failed: %s\n", i, SDL_GetError()); + fprintf(stderr, "SDL_JoystickOpen(%d) failed: %s\n", i, + SDL_GetError()); } else { printf(" axes: %d\n", SDL_JoystickNumAxes(joystick)); printf(" balls: %d\n", SDL_JoystickNumBalls(joystick));