src/video/gem/SDL_gemevents.c
changeset 1221 8ef3e7e92a91
parent 1209 a55ac374271c
child 1237 a8068adf156b
     1.1 --- a/src/video/gem/SDL_gemevents.c	Mon Jan 02 12:48:58 2006 +0000
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Mon Jan 02 19:49:21 2006 +0000
     1.3 @@ -83,8 +83,8 @@
     1.4  
     1.5  	keysym->mod = KMOD_NONE;
     1.6  	keysym->unicode = 0;
     1.7 -	if (pressed && (asciicode!=0)) {
     1.8 -		keysym->unicode = SDL_AtariToUnicode(asciicode);
     1.9 +	if (SDL_TranslateUNICODE && pressed) {
    1.10 +		keysym->unicode = SDL_AtariToUnicodeTable[asciicode];
    1.11  	}
    1.12  
    1.13  	return(keysym);