From b6542ab237247b40af2fe5a316907d7e78c0d5e8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 11 Nov 2016 04:30:09 -0800 Subject: [PATCH] Fixed whitespace --- src/joystick/SDL_joystick.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/joystick/SDL_joystick.c b/src/joystick/SDL_joystick.c index afe819d06..4debab617 100644 --- a/src/joystick/SDL_joystick.c +++ b/src/joystick/SDL_joystick.c @@ -507,8 +507,8 @@ void SDL_PrivateJoystickAdded(int device_index) if (SDL_GetEventState(event.type) == SDL_ENABLE) { event.jdevice.which = device_index; - if ( (SDL_EventOK == NULL) || - (*SDL_EventOK) (SDL_EventOKParam, &event) ) { + if ((SDL_EventOK == NULL) || + (*SDL_EventOK) (SDL_EventOKParam, &event)) { SDL_PushEvent(&event); } } @@ -553,8 +553,8 @@ void SDL_PrivateJoystickRemoved(SDL_JoystickID device_instance) if (SDL_GetEventState(event.type) == SDL_ENABLE) { event.jdevice.which = device_instance; - if ( (SDL_EventOK == NULL) || - (*SDL_EventOK) (SDL_EventOKParam, &event) ) { + if ((SDL_EventOK == NULL) || + (*SDL_EventOK) (SDL_EventOKParam, &event)) { SDL_PushEvent(&event); } }