Sfoglia il codice sorgente

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

Ryan C. Gordon 1 anno fa
parent
commit
5dc5b4b83c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;