summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-27 15:17:42 +0100
committermadmaxoft <github@xoft.cz>2014-02-27 15:17:42 +0100
commita23b5d13bde0742e6208bcc75807a97c1c12f7e1 (patch)
tree3702923f41c77ceacfccc2e596618490409ef16d /src/Log.cpp
parentFixed crash and some warnings in map handling. (diff)
downloadcuberite-a23b5d13bde0742e6208bcc75807a97c1c12f7e1.tar
cuberite-a23b5d13bde0742e6208bcc75807a97c1c12f7e1.tar.gz
cuberite-a23b5d13bde0742e6208bcc75807a97c1c12f7e1.tar.bz2
cuberite-a23b5d13bde0742e6208bcc75807a97c1c12f7e1.tar.lz
cuberite-a23b5d13bde0742e6208bcc75807a97c1c12f7e1.tar.xz
cuberite-a23b5d13bde0742e6208bcc75807a97c1c12f7e1.tar.zst
cuberite-a23b5d13bde0742e6208bcc75807a97c1c12f7e1.zip
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 2d6be0f59..1ea327d5d 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -42,7 +42,7 @@ cLog::~cLog()
-cLog* cLog::GetInstance()
+cLog * cLog::GetInstance()
{
if (s_Log != NULL)
{
@@ -92,7 +92,7 @@ void cLog::ClearLog()
if( m_File )
fclose (m_File);
#endif
- m_File = 0;
+ m_File = NULL;
}