Renamed SDLK_a-z to SDLK_A-Z

Made the symbols uppercase for consistency with the other SDLK_* constants, but the values are still lowercase.
This commit is contained in:
Sam Lantinga 2024-06-30 20:05:22 -07:00
parent d9dc4b320a
commit e8dbbf8380
16 changed files with 275 additions and 93 deletions

View file

@ -391,10 +391,10 @@ int main(int argc, char *argv[])
while (SDL_PollEvent(&event)) {
SDLTest_CommonEvent(state, &event, &done);
if (event.type == SDL_EVENT_KEY_DOWN) {
if (event.key.key == SDLK_o) {
if (event.key.key == SDLK_O) {
swap_interval--;
update_swap_interval = SDL_TRUE;
} else if (event.key.key == SDLK_p) {
} else if (event.key.key == SDLK_P) {
swap_interval++;
update_swap_interval = SDL_TRUE;
}