ソースを参照

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

Ryan C. Gordon 1 年間 前
コミット
5dc5b4b83c
1 ファイル変更1 行追加1 行削除
  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;