Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Corrected confusing indentation in C source file.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Apr 29, 2013
1 parent 3469c59 commit 9e82024
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/joystick/SDL_gamecontroller.c
Expand Up @@ -302,8 +302,8 @@ ControllerMapping_t *SDL_PrivateGetControllerMappingForGUID(SDL_JoystickGUID *gu
}
pSupportedController = pSupportedController->next;
}
return NULL;
}
return NULL;
}

/*
* Helper function to determine pre-caclulated offset to certain joystick mappings
Expand Down Expand Up @@ -349,7 +349,7 @@ SDL_GameControllerAxis SDL_GameControllerGetAxisFromString( const char *pchStrin
if ( !SDL_strcasecmp( pchString, map_StringForControllerAxis[entry] ) )
return entry;
}
return SDL_CONTROLLER_AXIS_INVALID;
return SDL_CONTROLLER_AXIS_INVALID;
}

/*
Expand Down Expand Up @@ -494,7 +494,6 @@ void SDL_PrivateGameControllerParseButton( const char *szGameButton, const char
SDL_assert( !"How did we get here?" );
}
}

}


Expand Down Expand Up @@ -1141,7 +1140,7 @@ SDL_GameControllerClose(SDL_GameController * gamecontroller)
gamecontrollerlistprev = gamecontrollerlist;
gamecontrollerlist = gamecontrollerlist->next;
}

SDL_free(gamecontroller);
}

Expand Down

0 comments on commit 9e82024

Please sign in to comment.