Browse Source

pthread: Fixed logic bug in SDL_WaitConditionTimeoutNS due to boolization work.

Ryan C. Gordon 7 months ago
parent
commit
5dc5b4b83c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/thread/pthread/SDL_syscond.c

+ 1 - 1
src/thread/pthread/SDL_syscond.c

@@ -121,7 +121,7 @@ tryagain:
         result = false;
         break;
     default:
-        result = false;
+        result = true;
         break;
     }
     return result;