diff -r 46ddaf14509d -r f34f391a223b hedgewars/uUtils.pas --- 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)