mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-10-02 16:23:57 +08:00
co-authored by
Simon McVittie
parent
31f8c3ef44
commit
c9ff90b949
@@ -989,7 +989,7 @@ SDL_WaitEventTimeout(SDL_Event * event, int timeout)
|
||||
return 0;
|
||||
case 0:
|
||||
if (timeout == 0) {
|
||||
/* No events available, and no timeout */
|
||||
/* No events available, and not willing to wait */
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user