]> Shamusworld >> Repos - thunder/blobdiff - src/log.cpp
Code cleanup, final fix for sprite lag problem.
[thunder] / src / log.cpp
index c39a0b322ce200aff64f9303849510a9aadc00c2..97f07338c551697633afb520286f60f4672a8db6 100644 (file)
@@ -19,7 +19,6 @@
 static FILE * logStream = NULL;
 static uint32_t logSize = 0;
 
-
 bool InitLog(const char * path)
 {
        logStream = fopen(path, "wrt");
@@ -30,14 +29,12 @@ bool InitLog(const char * path)
        return true;
 }
 
-
 void LogDone(void)
 {
        if (logStream)
                fclose(logStream);
 }
 
-
 //
 // This logger is used mainly to ensure that text gets written to the log file
 // even if the program crashes. The performance hit is acceptable in this case!
@@ -62,4 +59,3 @@ void WriteLog(const char * text, ...)
        va_end(arg);
        fflush(logStream);                                      // Make sure that text is written!
 }
-