diff options
Diffstat (limited to 'uisimulator/sdl/uisdl.c')
-rw-r--r-- | uisimulator/sdl/uisdl.c | 4 |
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 | ||