Accept FS #7750: simulator: add missing newlines after SDL errors

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14666 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2007-09-10 21:18:19 +00:00
parent d727f5d936
commit 3afaec3ead
2 changed files with 3 additions and 2 deletions

View file

@ -329,6 +329,7 @@ Jesse Lockwood
Jonathan Backer Jonathan Backer
Sofian Babai Sofian Babai
Costas Calamvokis Costas Calamvokis
Catalin Patulea
The libmad team The libmad team
The wavpack team The wavpack team
The ffmpeg team The ffmpeg team

View file

@ -112,7 +112,7 @@ bool gui_startup(void)
int width, height; int width, height;
if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_TIMER)) { if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_TIMER)) {
fprintf(stderr, "fatal: %s", SDL_GetError()); fprintf(stderr, "fatal: %s\n", SDL_GetError());
return false; return false;
} }
@ -123,7 +123,7 @@ bool gui_startup(void)
picture_surface = SDL_LoadBMP("UI256.bmp"); picture_surface = SDL_LoadBMP("UI256.bmp");
if (picture_surface == NULL) { if (picture_surface == NULL) {
background = false; background = false;
fprintf(stderr, "warn: %s", SDL_GetError()); fprintf(stderr, "warn: %s\n", SDL_GetError());
} }
} }