From 6f2af433ba7554a551481d19efe3ae7fba55bd46 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sat, 21 Feb 2009 13:51:21 +0100 Subject: Use unicode by default for kbd. --- src/client/interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/interface.c b/src/client/interface.c index 33c4001..a53a73a 100644 --- a/src/client/interface.c +++ b/src/client/interface.c @@ -141,7 +141,8 @@ int initSDL() SDL_Quit(); return -1; } - + // enable unicode by default for keyboard support + SDL_EnableUNICODE(1); SDL_WM_SetCaption(WINDOW_TITLE, NULL); //SDL_ShowCursor(0); SDL_EnableKeyRepeat(0, 1); -- cgit v1.2.3