summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-31 21:50:29 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-31 21:50:29 +0100
commit02e752789399ad1b65a0443534ea6a8721efd78c (patch)
treed4e2105df2444cc9c57a9f72e2296c97a8e44755 /src/Log.cpp
parentAdded a comment (diff)
downloadcuberite-02e752789399ad1b65a0443534ea6a8721efd78c.tar
cuberite-02e752789399ad1b65a0443534ea6a8721efd78c.tar.gz
cuberite-02e752789399ad1b65a0443534ea6a8721efd78c.tar.bz2
cuberite-02e752789399ad1b65a0443534ea6a8721efd78c.tar.lz
cuberite-02e752789399ad1b65a0443534ea6a8721efd78c.tar.xz
cuberite-02e752789399ad1b65a0443534ea6a8721efd78c.tar.zst
cuberite-02e752789399ad1b65a0443534ea6a8721efd78c.zip
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index cbb83097c..3938f2c24 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -18,7 +18,8 @@
cLog* cLog::s_Log = NULL;
cLog::cLog(const AString & a_FileName )
- : m_File(NULL)
+ : m_File(NULL),
+ m_LastStringSize(0)
{
s_Log = this;