fixing cLocale being empty
authorsheepluva
Mon, 22 Jul 2013 19:01:28 +0200
changeset 9367 d7bcadc4c380
parent 9366 4d0128c9cb35
child 9368 61c978e47312
fixing cLocale being empty
hedgewars/uVariables.pas
--- a/hedgewars/uVariables.pas	Mon Jul 22 18:16:01 2013 +0200
+++ b/hedgewars/uVariables.pas	Mon Jul 22 19:01:28 2013 +0200
@@ -2368,7 +2368,7 @@
 procedure initModule;
 begin
     // TODO: we could just have one cLocale variables and drop strutils
-    cLocale:= ExtractDelimited(0, cLocaleFName, StdWordDelims);
+    cLocale:= ExtractDelimited(1, cLocaleFName, StdWordDelims);
 
     cFlattenFlakes      := false;
     cFlattenClouds      := false;