]> Shamusworld >> Repos - stargem2/blobdiff - src/log.cpp
Finally fixed problems with demo mode.
[stargem2] / src / log.cpp
old mode 100755 (executable)
new mode 100644 (file)
index 5d05dee..67a1dea
@@ -1,7 +1,8 @@
 //
 // Log handler
 //
-// by James L. Hammons
+// by James Hammons
+// (C) 2022 Underground Software
 //
 
 #include "log.h"
@@ -49,8 +50,8 @@ void WriteLog(const char * text, ...)
        {
                fflush(log_stream);
                fclose(log_stream);
-               exit(1);
-       }//*/
+               log_stream = NULL;
+       }
 
        va_end(arg);
        fflush(log_stream);                                     // Make sure that text is written!