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

@ -226,7 +226,7 @@ static void loop(void *arg)
break;
case SDL_EVENT_KEY_DOWN:
switch (event.key.key) {
case SDLK_l:
case SDLK_L:
if (event.key.mod & SDL_KMOD_SHIFT) {
num_lines = 0;
} else {
@ -237,7 +237,7 @@ static void loop(void *arg)
(float)SDL_rand(480));
}
break;
case SDLK_r:
case SDLK_R:
if (event.key.mod & SDL_KMOD_SHIFT) {
num_rects = 0;
} else {