Przeglądaj źródła

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

Ryan C. Gordon 1 rok temu
rodzic
commit
5dc5b4b83c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/thread/pthread/SDL_syscond.c

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

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