hedgewars/hwengine.pas
branchsdl2transition
changeset 11365 b8b208501475
parent 11362 ed5a6478e710
child 11403 b894922d58cc
child 11477 e425a6eb9da3
--- a/hedgewars/hwengine.pas	Tue Nov 10 22:37:54 2015 +0100
+++ b/hedgewars/hwengine.pas	Wed Nov 11 19:25:56 2015 +0100
@@ -169,7 +169,7 @@
                     if GameState = gsChat then
                         begin
                     // sdl on iphone supports only ashii keyboards and the unicode field is deprecated in sdl 1.3
-                        KeyPressChat(SDL_GetKeyFromScancode(event.key.keysym.sym), event.key.keysym.sym, event.key.keysym.modifier);
+                        KeyPressChat(event.key.keysym);
                         end
                     else
                         if GameState >= gsGame then ProcessKey(event.key);