summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-02 21:09:47 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-02 21:09:47 +0100
commite4b666989d67b9ec824fe0ac9f7c4f880486d72b (patch)
tree0cfff84110b6f427c10bfe97a37cf8900e760712 /src/Log.cpp
parentRevert "Fixed Linux compile" (diff)
downloadcuberite-e4b666989d67b9ec824fe0ac9f7c4f880486d72b.tar
cuberite-e4b666989d67b9ec824fe0ac9f7c4f880486d72b.tar.gz
cuberite-e4b666989d67b9ec824fe0ac9f7c4f880486d72b.tar.bz2
cuberite-e4b666989d67b9ec824fe0ac9f7c4f880486d72b.tar.lz
cuberite-e4b666989d67b9ec824fe0ac9f7c4f880486d72b.tar.xz
cuberite-e4b666989d67b9ec824fe0ac9f7c4f880486d72b.tar.zst
cuberite-e4b666989d67b9ec824fe0ac9f7c4f880486d72b.zip
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Log.cpp b/src/Log.cpp
index b246e8196..e7d3e0629 100644
--- a/src/Log.cpp
+++ b/src/Log.cpp
@@ -147,7 +147,7 @@ bool cLog::LogReplaceLine(const char * a_Format, va_list argList)
if ((size_t)((csbi.srWindow.Right - csbi.srWindow.Left) + 1) < LineLength)
{
- printf("\n%s", Line.c_str()); // We are at line to be replaced, but since we can't, add a new line
+ printf("\r%s", Line.c_str());
return false;
}
#ifdef _WIN32