From 5dc5b4b83c57b88963e4087435da3451b830f3fb Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" 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 b06ba2c1fe..c1be483c80 100644 --- a/src/thread/pthread/SDL_syscond.c +++ b/src/thread/pthread/SDL_syscond.c @@ -121,7 +121,7 @@ tryagain: result = false; break; default: - result = false; + result = true; break; } return result;