mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 06:45:59 +00:00
Simplify flags testing (#7220)
This commit is contained in:
@@ -63,7 +63,7 @@ int SDL_SYS_CreateThread(SDL_Thread *thread)
|
||||
|
||||
TInt status = CreateUnique(NewThread, &rthread, thread);
|
||||
if (status != KErrNone) {
|
||||
delete (((RThread *)(thread->handle)));
|
||||
delete (RThread *)thread->handle;
|
||||
thread->handle = NULL;
|
||||
return SDL_SetError("Not enough resources to create thread");
|
||||
}
|
||||
|
Reference in New Issue
Block a user