Explorar o código

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

Ryan C. Gordon hai 1 ano
pai
achega
5dc5b4b83c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;