From 5dc5b4b83c57b88963e4087435da3451b830f3fb Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 27 Aug 2024 17:00:47 -0400
Subject: [PATCH] pthread: Fixed logic bug in SDL_WaitConditionTimeoutNS due to
boolization work.
---
src/thread/pthread/SDL_syscond.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/thread/pthread/SDL_syscond.c b/src/thread/pthread/SDL_syscond.c
index b06ba2c1fe6f9..c1be483c80750 100644
--- a/src/thread/pthread/SDL_syscond.c
+++ b/src/thread/pthread/SDL_syscond.c
@@ -121,7 +121,7 @@ SDL_bool SDL_WaitConditionTimeoutNS(SDL_Condition *cond, SDL_Mutex *mutex, Sint6
result = false;
break;
default:
- result = false;
+ result = true;
break;
}
return result;