hedgewars/uLocale.pas
changeset 2039 3001445b4500
parent 2023 41d3afaa20c7
child 2140 75e5c4fcae2a
--- a/hedgewars/uLocale.pas	Fri May 08 18:18:39 2009 +0000
+++ b/hedgewars/uLocale.pas	Fri May 08 18:20:06 2009 +0000
@@ -53,7 +53,7 @@
 	begin
 	readln(f, s);
 	if Length(s) = 0 then continue;
-	if s[1] = ';' then continue;
+	if not (s[1] in ['0'..'9']) then 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);