Răsfoiți Sursa

Fixed whitespace

Sam Lantinga 8 ani în urmă
părinte
comite
b6542ab237
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      src/joystick/SDL_joystick.c

+ 4 - 4
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);
         }
     }