# HG changeset patch
# User sheepluva
# Date 1417384108 -3600
# Node ID 7a61f321f399867ae96a14e1e1034c82735a3bf8
# Parent  7d41b04467064fe4212bbcdfd7cd4f7e885689d0
oops, fix logging. had = instead of <> in an error check

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+}