summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-31 01:05:23 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-31 01:05:23 +0100
commit7ae5631d89426df6f05b6c8ba656ba02b9d15f93 (patch)
treeb26b427f35b5cbd022ad2828b51fd94e2b208ed5 /src/Log.cpp
parentImproved code (diff)
downloadcuberite-7ae5631d89426df6f05b6c8ba656ba02b9d15f93.tar
cuberite-7ae5631d89426df6f05b6c8ba656ba02b9d15f93.tar.gz
cuberite-7ae5631d89426df6f05b6c8ba656ba02b9d15f93.tar.bz2
cuberite-7ae5631d89426df6f05b6c8ba656ba02b9d15f93.tar.lz
cuberite-7ae5631d89426df6f05b6c8ba656ba02b9d15f93.tar.xz
cuberite-7ae5631d89426df6f05b6c8ba656ba02b9d15f93.tar.zst
cuberite-7ae5631d89426df6f05b6c8ba656ba02b9d15f93.zip
Diffstat (limited to '')
-rw-r--r--src/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index 37f1376db..cbb83097c 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -137,7 +137,7 @@ void cLog::Log(const char * a_Format, va_list argList, bool a_ReplaceCurrentLine
size_t LineLength = Line.length();
if (m_LastStringSize == 0)
- m_LastStringSize = LineLength;
+ m_LastStringSize = LineLength; // Initialise m_LastStringSize
if (a_ReplaceCurrentLine)
{