hedgewars/uLocale.pas
changeset 10123 64e72781d344
parent 10122 cefede760264
child 10127 7f29a65aa1e4
--- a/hedgewars/uLocale.pas	Fri Feb 07 23:57:32 2014 +0400
+++ b/hedgewars/uLocale.pas	Sat Feb 08 16:29:34 2014 +0400
@@ -63,10 +63,10 @@
             continue;
         TryDo(Length(s) > 6, 'Load locale: empty string', true);
         val(s[1]+s[2], a, c);
-        TryDo(c = 0, 'Load locale: numbers should be two-digit: ' + s, true);
+        TryDo(c = 0, ansistring('Load locale: numbers should be two-digit: ') + s, true);
         TryDo(s[3] = ':', 'Load locale: ":" expected', true);
         val(s[4]+s[5], b, c);
-        TryDo(c = 0, 'Load locale: numbers should be two-digit' + s, true);
+        TryDo(c = 0, ansistring('Load locale: numbers should be two-digit: ') + s, true);
         TryDo(s[6] = '=', 'Load locale: "=" expected', true);
         Delete(s, 1, 6);
         case a of