]> Shamusworld >> Repos - apple2/blobdiff - src/log.cpp
Docs were missing GPLv3. Thanks to schampailler for the heads up. :-)
[apple2] / src / log.cpp
old mode 100755 (executable)
new mode 100644 (file)
index 6994cc5..0c20bf4
@@ -7,7 +7,7 @@
 // JLH = James Hammons <jlhamm@acm.org>
 //
 // WHO  WHEN        WHAT
-// ---  ----------  ------------------------------------------------------------
+// ---  ----------  -----------------------------------------------------------
 // JLH  01/03/2006  Moved includes out of header file for faster compilation
 //
 
@@ -27,7 +27,7 @@ static uint32_t logSize = 0;
 
 bool InitLog(const char * path)
 {
-       log_stream = fopen(path, "wrt");
+       log_stream = fopen(path, "w");
 
        if (log_stream == NULL)
                return false;