tp_magic_example.c refresh, due to indent upgrade

Updated my system from Kubuntu 22.04 -> 24.04 and am now on
GNU indent 2.2.13, which behaves slightly differently be default.
This commit is contained in:
Bill Kendrick 2024-10-20 11:20:47 -07:00
parent f91923eddf
commit 073ac19ce6
14 changed files with 448 additions and 448 deletions

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of

View file

@ -555,8 +555,8 @@ The size comes in as an unsigned integer (Uint8) between 1 and the value
returned by our example_accepted_sizes() function during setup.
*/
void example_set_size(magic_api *api, int which, int mode,
SDL_Surface * canvas, SDL_Surface * snapshot,
Uint8 size, SDL_Rect * update_rect)
SDL_Surface *canvas, SDL_Surface *snapshot, Uint8 size,
SDL_Rect *update_rect)
{
/*
Store the new size into the global variable we declared at the top of