diff -r 7d41b0446706 -r 7a61f321f399 hedgewars/uUtils.pas --- a/hedgewars/uUtils.pas Sun Nov 30 16:18:19 2014 -0500 +++ b/hedgewars/uUtils.pas Sun Nov 30 22:48:28 2014 +0100 @@ -559,7 +559,7 @@ {$IFNDEF PAS2C} // if everything fails, write to stderr - if (length(UserPathPrefix) = 0) or (IOResult = 0) then + if (length(UserPathPrefix) = 0) or (IOResult <> 0) then logFile:= stderr; {$ENDIF} {$I+}