sdl 1.1.4 doesn't have SDLK_COMPOSE

This commit is contained in:
Bill Currie 2001-08-22 04:01:50 +00:00
parent 8f269ee821
commit 015fe8071a

View file

@ -744,9 +744,12 @@ IN_LL_SendKeyEvents (void)
case SDLK_MODE: case SDLK_MODE:
ksym = K_MODE; ksym = K_MODE;
break; break;
#if SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_PATCHLEVEL) \
>= SDL_VERSIONNUM(1,1,5)
case SDLK_COMPOSE: case SDLK_COMPOSE:
ksym = K_COMPOSE; ksym = K_COMPOSE;
break; break;
#endif
case SDLK_HELP: case SDLK_HELP:
ksym = K_HELP; ksym = K_HELP;
break; break;