summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/CREDITS1
-rw-r--r--uisimulator/sdl/uisdl.c4
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
329Jonathan Backer 329Jonathan Backer
330Sofian Babai 330Sofian Babai
331Costas Calamvokis 331Costas Calamvokis
332Catalin Patulea
332The libmad team 333The libmad team
333The wavpack team 334The wavpack team
334The ffmpeg team 335The 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)
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