hedgewars/uUtils.pas
changeset 10594 7a61f321f399
parent 10574 1636b0efa415
child 10595 6781190b053d
equal deleted inserted replaced
10593:7d41b0446706 10594:7a61f321f399
   557             end;
   557             end;
   558         end;
   558         end;
   559 
   559 
   560 {$IFNDEF PAS2C}
   560 {$IFNDEF PAS2C}
   561     // if everything fails, write to stderr
   561     // if everything fails, write to stderr
   562     if (length(UserPathPrefix) = 0) or (IOResult = 0) then
   562     if (length(UserPathPrefix) = 0) or (IOResult <> 0) then
   563         logFile:= stderr;
   563         logFile:= stderr;
   564 {$ENDIF}
   564 {$ENDIF}
   565 {$I+}
   565 {$I+}
   566 {$ENDIF}
   566 {$ENDIF}
   567 
   567