mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 09:48:26 +00:00
main: Make the main callback return value symbols smaller (thanks, @Lzard!).
Reference #9901.
This commit is contained in:
parent
ef5d56de51
commit
3364aff757
8 changed files with 85 additions and 85 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue