mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Fixed whitespace
This commit is contained in:
parent
47418f2d5a
commit
b6542ab237
@ -507,8 +507,8 @@ void SDL_PrivateJoystickAdded(int device_index)
|
|||||||
|
|
||||||
if (SDL_GetEventState(event.type) == SDL_ENABLE) {
|
if (SDL_GetEventState(event.type) == SDL_ENABLE) {
|
||||||
event.jdevice.which = device_index;
|
event.jdevice.which = device_index;
|
||||||
if ( (SDL_EventOK == NULL) ||
|
if ((SDL_EventOK == NULL) ||
|
||||||
(*SDL_EventOK) (SDL_EventOKParam, &event) ) {
|
(*SDL_EventOK) (SDL_EventOKParam, &event)) {
|
||||||
SDL_PushEvent(&event);
|
SDL_PushEvent(&event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -553,8 +553,8 @@ void SDL_PrivateJoystickRemoved(SDL_JoystickID device_instance)
|
|||||||
|
|
||||||
if (SDL_GetEventState(event.type) == SDL_ENABLE) {
|
if (SDL_GetEventState(event.type) == SDL_ENABLE) {
|
||||||
event.jdevice.which = device_instance;
|
event.jdevice.which = device_instance;
|
||||||
if ( (SDL_EventOK == NULL) ||
|
if ((SDL_EventOK == NULL) ||
|
||||||
(*SDL_EventOK) (SDL_EventOKParam, &event) ) {
|
(*SDL_EventOK) (SDL_EventOKParam, &event)) {
|
||||||
SDL_PushEvent(&event);
|
SDL_PushEvent(&event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user