summaryrefslogtreecommitdiff
path: root/uisimulator/sdl
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-09-10 21:18:19 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-09-10 21:18:19 +0000
commit3afaec3ead7503e2904cb1b2b676bed2b3d09907 (patch)
tree1cf3d835ac1cf10c3de06b7606f8cf6298ab02d4 /uisimulator/sdl
parentd727f5d9360996334a3f335857c869fe49a7dfd2 (diff)
downloadrockbox-3afaec3ead7503e2904cb1b2b676bed2b3d09907.tar.gz
rockbox-3afaec3ead7503e2904cb1b2b676bed2b3d09907.zip
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
Diffstat (limited to 'uisimulator/sdl')
-rw-r--r--uisimulator/sdl/uisdl.c4
1 files changed, 2 insertions, 2 deletions
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)
112 int width, height; 112 int width, height;
113 113
114 if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_TIMER)) { 114 if (SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_TIMER)) {
115 fprintf(stderr, "fatal: %s", SDL_GetError()); 115 fprintf(stderr, "fatal: %s\n", SDL_GetError());
116 return false; 116 return false;
117 } 117 }
118 118
@@ -123,7 +123,7 @@ bool gui_startup(void)
123 picture_surface = SDL_LoadBMP("UI256.bmp"); 123 picture_surface = SDL_LoadBMP("UI256.bmp");
124 if (picture_surface == NULL) { 124 if (picture_surface == NULL) {
125 background = false; 125 background = false;
126 fprintf(stderr, "warn: %s", SDL_GetError()); 126 fprintf(stderr, "warn: %s\n", SDL_GetError());
127 } 127 }
128 } 128 }
129 129