Simplify flags testing (#7220)
This commit is contained in:
1 parent
dcd17f5473
commit
cb6b8b0132
46 files changed
+218
-218
No files matched your search
@@ -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