hedgewars/uMisc.pas
changeset 3680 aaf832c6fbd7
parent 3676 fa29572fa56a
child 3693 09892cdb8f95
--- a/hedgewars/uMisc.pas	Sat Jul 31 08:19:56 2010 +0200
+++ b/hedgewars/uMisc.pas	Sat Jul 31 10:39:20 2010 +0200
@@ -257,12 +257,12 @@
 begin
 // obsolete? written in WriteLnToConsole() anyway
 // {$IFDEF DEBUGFILE}AddFileLog(Msg);{$ENDIF}
-WriteLnToConsole(Msg);
-if isFatalError then
+    WriteLnToConsole(Msg);
+    if isFatalError then
     begin
-    SendIPC('E' + GetLastConsoleLine);
-    SDL_Quit;
-    halt(1)
+        SendIPC('E' + GetLastConsoleLine);
+        SDL_Quit;
+        halt(1)
     end
 end;