hedgewars/hwengine.pas
changeset 7984 619a399bece8
parent 7929 6e01c5134eb5
child 8018 091293bc974f
child 8019 b216953c2617
child 8027 e5ba3dd12531
--- a/hedgewars/hwengine.pas	Tue Nov 06 10:52:21 2012 -0500
+++ b/hedgewars/hwengine.pas	Tue Nov 06 11:01:18 2012 -0500
@@ -386,7 +386,7 @@
     if cLocaleFName <> 'en.txt' then
         begin
         // Try two letter locale first before trying specific locale overrides
-        if (Length(cLocale) > 2) and (Copy(cLocale,1,2) <> 'en') then
+        if (Length(cLocale) > 3) and (Copy(cLocale,1,2) <> 'en') then
             begin
             LoadLocale(UserPathz[ptLocale] + '/' + Copy(cLocale,1,2)+'.txt');
             LoadLocale(Pathz[ptLocale] + '/' + Copy(cLocale,1,2)+'.txt')