Skip to content

Commit

Permalink
Fixed some whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 20, 2019
1 parent c0a5429 commit e6c43e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/SDL12_compat.c
Expand Up @@ -719,9 +719,9 @@ SDL_InitSubSystem(Uint32 sdl12flags)

FIXME("support event thread where it makes sense to do so?");

if ( (sdl12flags & SDL12_INIT_EVENTTHREAD) == SDL12_INIT_EVENTTHREAD ) {
return SDL20_SetError("OS doesn't support threaded events");
}
if ( (sdl12flags & SDL12_INIT_EVENTTHREAD) == SDL12_INIT_EVENTTHREAD ) {
return SDL20_SetError("OS doesn't support threaded events");
}

Uint32 sdl20flags = 0;
int rc;
Expand Down Expand Up @@ -945,6 +945,7 @@ SDL_PollEvent(SDL12_Event *event12)
EventQueueHead->next = EventQueueAvailable;
EventQueueAvailable = EventQueueHead;
EventQueueHead = next;

return 1;
}

Expand Down

0 comments on commit e6c43e1

Please sign in to comment.