main: Make the main callback return value symbols smaller (thanks, @Lzard!).

Reference #9901.
This commit is contained in:
Ryan C. Gordon 2024-05-27 16:03:45 -04:00
parent ef5d56de51
commit 3364aff757
No known key found for this signature in database
GPG key ID: FA148B892AB48044
8 changed files with 85 additions and 85 deletions

View file

@ -2404,19 +2404,19 @@ int SDLTest_CommonEventMainCallbacks(SDLTest_CommonState *state, const SDL_Event
}
break;
case SDLK_ESCAPE:
return SDL_MAIN_CALLBACK_EXIT_SUCCESS;
return SDL_APP_SUCCESS;
default:
break;
}
break;
}
case SDL_EVENT_QUIT:
return SDL_MAIN_CALLBACK_EXIT_SUCCESS;
return SDL_APP_SUCCESS;
default:
break;
}
return SDL_MAIN_CALLBACK_CONTINUE;
return SDL_APP_CONTINUE;
}
void SDLTest_CommonEvent(SDLTest_CommonState *state, SDL_Event *event, int *done)