Tweaked spacing in commandline output

This commit is contained in:
Kevin MacMartin 2014-08-20 03:44:01 -04:00
parent 5295ea3e89
commit 1826dba717

View file

@ -131,7 +131,7 @@ int main(int argc, char* args[])
//INITIALIZE SDL //INITIALIZE SDL
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER) != 0) if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER) != 0)
{ {
fprintf(stderr, "\nUnable to initialize SDL: %s\n", SDL_GetError()); fprintf(stderr, "\nUnable to initialize SDL: %s\n", SDL_GetError());
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
atexit(SDL_Quit); atexit(SDL_Quit);
@ -139,7 +139,7 @@ int main(int argc, char* args[])
//INITIALIZE SDL_ttf //INITIALIZE SDL_ttf
if (TTF_Init() != 0) if (TTF_Init() != 0)
{ {
fprintf(stderr, "\nUnable to initialize SDL: %s\n", SDL_GetError()); fprintf(stderr, "\nUnable to initialize SDL: %s\n", SDL_GetError());
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
atexit(TTF_Quit); atexit(TTF_Quit);
@ -147,7 +147,7 @@ int main(int argc, char* args[])
//INITIALIZE THE MAIN SURFACE //INITIALIZE THE MAIN SURFACE
if ((screen = SDL_SetVideoMode((TILEWIDTH * gameParameters[TilesWide]), (TILEHEIGHT * gameParameters[TilesHigh]) + 35, 32, SDL_HWSURFACE | SDL_DOUBLEBUF | SDL_ANYFORMAT)) == NULL) if ((screen = SDL_SetVideoMode((TILEWIDTH * gameParameters[TilesWide]), (TILEHEIGHT * gameParameters[TilesHigh]) + 35, 32, SDL_HWSURFACE | SDL_DOUBLEBUF | SDL_ANYFORMAT)) == NULL)
{ {
fprintf(stderr, "\nUnable to initialize SDL: %s\n", SDL_GetError()); fprintf(stderr, "\nUnable to initialize SDL: %s\n", SDL_GetError());
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }