Removed newlines from error messages.

This commit is contained in:
Philipp Wiesemann
2017-03-26 21:00:19 +02:00
parent 00da0824f5
commit 266816b4aa
24 changed files with 26 additions and 26 deletions

View File

@@ -77,7 +77,7 @@ int BE_CreateWindowFramebuffer(_THIS, SDL_Window * window,
if(bitmap->InitCheck() != B_OK) {
delete bitmap;
return SDL_SetError("Could not initialize back buffer!\n");
return SDL_SetError("Could not initialize back buffer!");
}

View File

@@ -310,7 +310,7 @@ int BE_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode){
}
if(bscreen.SetMode(bmode) != B_OK) {
return SDL_SetError("Bad video mode\n");
return SDL_SetError("Bad video mode");
}
free(bmode_list);