From 3afaec3ead7503e2904cb1b2b676bed2b3d09907 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Mon, 10 Sep 2007 21:18:19 +0000 Subject: [PATCH] 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 --- docs/CREDITS | 1 + uisimulator/sdl/uisdl.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/CREDITS b/docs/CREDITS index c092eab423..c6af7ffa77 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -329,6 +329,7 @@ Jesse Lockwood Jonathan Backer Sofian Babai Costas Calamvokis +Catalin Patulea The libmad team The wavpack team The ffmpeg team diff --git a/uisimulator/sdl/uisdl.c b/uisimulator/sdl/uisdl.c index eada01f99a..d7845c5beb 100644 --- a/uisimulator/sdl/uisdl.c +++ b/uisimulator/sdl/uisdl.c @@ -112,7 +112,7 @@ bool gui_startup(void) int width, height; 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; } @@ -123,7 +123,7 @@ bool gui_startup(void) picture_surface = SDL_LoadBMP("UI256.bmp"); if (picture_surface == NULL) { background = false; - fprintf(stderr, "warn: %s", SDL_GetError()); + fprintf(stderr, "warn: %s\n", SDL_GetError()); } }