hedgewars/uLocale.pas
changeset 13157 c5453cbdeb87
parent 13043 9119726e22bc
child 13457 b587cdb03bac
--- a/hedgewars/uLocale.pas	Sat Mar 10 12:32:44 2018 +0100
+++ b/hedgewars/uLocale.pas	Sat Mar 10 12:57:13 2018 +0100
@@ -129,7 +129,7 @@
 tempstr:= fmt;
 for i:=0 to MAX_FORMAT_STRING_SYMBOLS - 1 do
     begin
-        p:= Pos('%'+IntToStr(i), tempstr);
+        p:= Pos('%'+IntToStr(i+1), tempstr);
         if (p = 0) or (i >= Length(args)) then
             break
         else