From 015fe8071ab151fc8746b37693edc4abf3133a68 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 22 Aug 2001 04:01:50 +0000 Subject: [PATCH] sdl 1.1.4 doesn't have SDLK_COMPOSE --- libs/video/targets/in_sdl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/video/targets/in_sdl.c b/libs/video/targets/in_sdl.c index 29d8678b8..4a3374397 100644 --- a/libs/video/targets/in_sdl.c +++ b/libs/video/targets/in_sdl.c @@ -744,9 +744,12 @@ IN_LL_SendKeyEvents (void) case SDLK_MODE: ksym = K_MODE; break; +#if SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_PATCHLEVEL) \ + >= SDL_VERSIONNUM(1,1,5) case SDLK_COMPOSE: ksym = K_COMPOSE; break; +#endif case SDLK_HELP: ksym = K_HELP; break;