mirror of https://github.com/encounter/SDL.git
Fixed whitespace
This commit is contained in:
parent
7f728f3eb6
commit
dd5d89505d
|
@ -901,7 +901,7 @@ SDL_WaitEventTimeout(SDL_Event * event, int timeout)
|
||||||
default:
|
default:
|
||||||
/* Check whether we have reached the end of the poll cycle, and no more events are left */
|
/* Check whether we have reached the end of the poll cycle, and no more events are left */
|
||||||
if (timeout == 0 && event && event->type == SDL_POLLSENTINEL) {
|
if (timeout == 0 && event && event->type == SDL_POLLSENTINEL) {
|
||||||
return SDL_PeepEvents(event, 1, SDL_GETEVENT, SDL_FIRSTEVENT, SDL_LASTEVENT) == 1;
|
return (SDL_PeepEvents(event, 1, SDL_GETEVENT, SDL_FIRSTEVENT, SDL_LASTEVENT) == 1);
|
||||||
}
|
}
|
||||||
/* Has existing events */
|
/* Has existing events */
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue