oups
authornemo
Wed, 07 Nov 2012 18:46:00 -0500
changeset 8009 22d3f053dd9b
parent 8007 b07ce9dfc6bb
child 8010 195677b0d06b
oups
hedgewars/uVariables.pas
--- a/hedgewars/uVariables.pas	Wed Nov 07 15:37:02 2012 -0500
+++ b/hedgewars/uVariables.pas	Wed Nov 07 18:46:00 2012 -0500
@@ -2576,9 +2576,10 @@
 end;
 
 procedure initModule;
+var s: ShortString;
 begin
-
-    SplitByChar(cLocaleFName, cLocale, '.');
+    cLocale:= cLocaleFName;
+    SplitByChar(cLocale, s, '.');
 
     cFlattenFlakes      := false;
     cFlattenClouds      := false;