mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 13:37:56 +00:00
@@ -989,7 +989,7 @@ SDL_WaitEventTimeout(SDL_Event * event, int timeout)
|
|||||||
return 0;
|
return 0;
|
||||||
case 0:
|
case 0:
|
||||||
if (timeout == 0) {
|
if (timeout == 0) {
|
||||||
/* No events available, and no timeout */
|
/* No events available, and not willing to wait */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user