hedgewars/uInputHandler.pas
changeset 7151 ec15d9e1a7e3
parent 7141 ea6ad9a97fca
child 7180 53ffc8853008
child 7184 211ab9e2cb15
--- a/hedgewars/uInputHandler.pas	Wed May 30 19:01:19 2012 +0400
+++ b/hedgewars/uInputHandler.pas	Thu May 31 15:14:39 2012 +0400
@@ -283,7 +283,7 @@
     begin
     for j:= 0 to pred(ControllerNumControllers) do
         begin
-        WriteLnToConsole('Using game controller: ' + SDL_JoystickName(j));
+        WriteLnToConsole('Using game controller: ' + shortstring(SDL_JoystickName(j)));
         Controller[j]:= SDL_JoystickOpen(j);
         if Controller[j] = nil then
             WriteLnToConsole('* Failed to open game controller!')