mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-11 05:48:13 +00:00
main: Make the main callback return value symbols smaller (thanks, @Lzard!).
Reference #9901.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user