oops, fix logging. had = instead of <> in an error check
authorsheepluva
Sun, 30 Nov 2014 22:48:28 +0100
changeset 10594 7a61f321f399
parent 10593 7d41b0446706
child 10595 6781190b053d
oops, fix logging. had = instead of <> in an error check
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+}