diff options
Diffstat (limited to 'src/game/WorldLog.cpp')
-rw-r--r-- | src/game/WorldLog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/game/WorldLog.cpp b/src/game/WorldLog.cpp index 89c058c5ce2..a80e8711424 100644 --- a/src/game/WorldLog.cpp +++ b/src/game/WorldLog.cpp @@ -38,7 +38,7 @@ WorldLog::WorldLog() : i_file(NULL) WorldLog::~WorldLog() { - if ( i_file != NULL ) + if (i_file != NULL) fclose(i_file); i_file = NULL; } @@ -65,7 +65,7 @@ void WorldLog::Initialize() void WorldLog::outTimestampLog(char const *fmt, ...) { - if ( LogWorld() ) + if (LogWorld()) { Guard guard(*this); ASSERT(i_file); @@ -74,7 +74,7 @@ void WorldLog::outTimestampLog(char const *fmt, ...) va_list args; va_start(args, fmt); vfprintf(i_file, fmt, args); - //fprintf(i_file, "\n" ); + //fprintf(i_file, "\n"); va_end(args); fflush(i_file); @@ -93,7 +93,7 @@ void WorldLog::outTimestampLog(char const *fmt, ...) void WorldLog::outLog(char const *fmt, ...) { - if ( LogWorld() ) + if (LogWorld()) { Guard guard(*this); ASSERT(i_file); @@ -101,7 +101,7 @@ void WorldLog::outLog(char const *fmt, ...) va_list args; va_start(args, fmt); vfprintf(i_file, fmt, args); - //fprintf(i_file, "\n" ); + //fprintf(i_file, "\n"); va_end(args); fflush(i_file); |