diff options
-rw-r--r-- | backends/sdl/fb2opengl.h | 2 | ||||
-rw-r--r-- | backends/sdl/sdl-common.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/sdl/fb2opengl.h b/backends/sdl/fb2opengl.h index 690773dd8b..daf6091b13 100644 --- a/backends/sdl/fb2opengl.h +++ b/backends/sdl/fb2opengl.h @@ -236,7 +236,7 @@ int FB2GL::init(int width, int height, int xfix, int yfix, char _flags) { // warning("Screen BitsPerPixel: %d\n",screen->format->BitsPerPixel); if (!screen) { - warning("Couldn't start video res %dx%d\n", width, height); + warning("Couldn't start video res %dx%d", width, height); return 0; } diff --git a/backends/sdl/sdl-common.cpp b/backends/sdl/sdl-common.cpp index 1a453bb697..818861a25d 100644 --- a/backends/sdl/sdl-common.cpp +++ b/backends/sdl/sdl-common.cpp @@ -939,7 +939,7 @@ uint32 OSystem_SDL_Common::property(int param, Property *value) { _cdrom = SDL_CDOpen(value->cd_num); /* Did if open? Check if _cdrom is NULL */ if (!_cdrom) { - warning("Couldn't open drive: %s\n", SDL_GetError()); + warning("Couldn't open drive: %s", SDL_GetError()); } else { cd_num_loops = 0; cd_stop_time = 0; |