hedgewars/uStore.pas
changeset 13343 93325e13d329
parent 13316 dd1435f1a28c
child 13370 e202d58236b1
child 13385 ec1491bb5acc
child 13551 7259891805f9
--- a/hedgewars/uStore.pas	Tue Apr 24 19:52:04 2018 +0200
+++ b/hedgewars/uStore.pas	Tue Apr 24 20:30:15 2018 +0200
@@ -379,7 +379,7 @@
     ai: TAmmoType;
     tmpsurf, tmpoverlay: PSDL_Surface;
     i, y, imflags: LongInt;
-    keyConfirm, keyQuit: ansistring;
+    keyConfirm, keyQuit: shortstring;
 begin
 AddFileLog('StoreLoad()');
 
@@ -509,7 +509,7 @@
     AFKTexture:= RenderStringTex(trmsg[sidAFK], cYellowColor, fntBig);
     keyConfirm:= KeyBindToName('confirm');
     keyQuit:= KeyBindToName('quit');
-    ConfirmTexture:= RenderStringTex(FormatA(trmsg[sidConfirm], [keyConfirm, keyQuit]), cYellowColor, fntBig);
+    ConfirmTexture:= RenderStringTex(Format(trmsg[sidConfirm], [keyConfirm, keyQuit]), cYellowColor, fntBig);
     SyncTexture:= RenderStringTex(trmsg[sidSync], cYellowColor, fntBig);
 
     if not reload then