changeset 8107 | ee21b816394f |
parent 8028 | dc30104660d3 |
child 8330 | aaefa587e277 |
child 8370 | 0c79946e96f8 |
--- a/hedgewars/uLocale.pas Fri Nov 23 10:43:15 2012 +0100 +++ b/hedgewars/uLocale.pas Fri Nov 23 13:08:50 2012 +0400 @@ -40,7 +40,7 @@ trevt_n: array[TEventId] of integer; procedure LoadLocale(FileName: shortstring); -var s: shortstring; +var s: ansistring; f: pfsFile; a, b, c: LongInt; first: array[TEventId] of boolean; @@ -58,7 +58,7 @@ begin while not pfsEof(f) do begin - pfsReadLn(f, s); + pfsReadLnA(f, s); if Length(s) = 0 then continue; if (s[1] < '0') or (s[1] > '9') then