mirror of
https://github.com/encounter/SDL.git
synced 2025-12-17 00:47:15 +00:00
Removed newlines from error messages.
This commit is contained in:
@@ -530,7 +530,7 @@ DirectFB_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
|
||||
/* find the right pixelformat */
|
||||
pixelformat = DirectFB_SDLToDFBPixelFormat(texture->format);
|
||||
if (pixelformat == DSPF_UNKNOWN) {
|
||||
SDL_SetError("Unknown pixel format %d\n", data->format);
|
||||
SDL_SetError("Unknown pixel format %d", data->format);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
||||
@@ -469,7 +469,7 @@ DirectFB_GetWindowWMInfo(_THIS, SDL_Window * window,
|
||||
info->info.dfb.surface = windata->surface;
|
||||
return SDL_TRUE;
|
||||
} else {
|
||||
SDL_SetError("Application not compiled with SDL %d.%d\n",
|
||||
SDL_SetError("Application not compiled with SDL %d.%d",
|
||||
SDL_MAJOR_VERSION, SDL_MINOR_VERSION);
|
||||
return SDL_FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user