hedgewars/uUtils.pas
changeset 5239 f34f391a223b
parent 5151 cbadb9fa52fc
child 5286 22c1f4833a86
child 5831 80f2a44becea
--- a/hedgewars/uUtils.pas	Sun Jun 12 21:06:48 2011 -0400
+++ b/hedgewars/uUtils.pas	Sun Jun 12 22:34:38 2011 -0400
@@ -359,7 +359,7 @@
             i:= 0;
             while(i < 7) do
             begin
-                assign(f, ParamStr(1) + '/Logs/' + cLogfileBase + inttostr(i) + '.log');
+                assign(f, UserPathPrefix + '/Logs/' + cLogfileBase + inttostr(i) + '.log');
                 rewrite(f);
                 if IOResult = 0 then break;
                 inc(i)