mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 08:27:05 +00:00
Removed newlines from error messages.
This commit is contained in:
@@ -260,12 +260,12 @@ void PSP_EventInit(_THIS)
|
||||
#endif
|
||||
/* Start thread to read data */
|
||||
if((event_sem = SDL_CreateSemaphore(1)) == NULL) {
|
||||
SDL_SetError("Can't create input semaphore\n");
|
||||
SDL_SetError("Can't create input semaphore");
|
||||
return;
|
||||
}
|
||||
running = 1;
|
||||
if((thread = SDL_CreateThreadInternal(EventUpdate, "PSPInputThread", 4096, NULL)) == NULL) {
|
||||
SDL_SetError("Can't create input thread\n");
|
||||
SDL_SetError("Can't create input thread");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ PSP_GetWindowWMInfo(_THIS, SDL_Window * window, struct SDL_SysWMinfo *info)
|
||||
if (info->version.major <= SDL_MAJOR_VERSION) {
|
||||
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