src/video/ataricommon/SDL_biosevents.c
changeset 1221 8ef3e7e92a91
parent 1209 a55ac374271c
child 1237 a8068adf156b
--- a/src/video/ataricommon/SDL_biosevents.c	Mon Jan 02 12:48:58 2006 +0000
+++ b/src/video/ataricommon/SDL_biosevents.c	Mon Jan 02 19:49:21 2006 +0000
@@ -182,8 +182,8 @@
 
 	keysym->mod = KMOD_NONE;
 	keysym->unicode = 0;
-	if (pressed && (asciicode!=0)) {
-		keysym->unicode = SDL_AtariToUnicode(asciicode);
+	if (SDL_TranslateUNICODE && pressed) {
+		keysym->unicode = SDL_AtariToUnicodeTable[asciicode];
 	}
 
 	return(keysym);