summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-01 00:25:15 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-01 00:25:15 +0100
commit397208145ebe5c95ebf32f2985f6800634932230 (patch)
treec6fd875afa605fe0fe50f79808ce82c779ac69f1 /src/Log.cpp
parentFixed issues with insufficient console space (diff)
downloadcuberite-397208145ebe5c95ebf32f2985f6800634932230.tar
cuberite-397208145ebe5c95ebf32f2985f6800634932230.tar.gz
cuberite-397208145ebe5c95ebf32f2985f6800634932230.tar.bz2
cuberite-397208145ebe5c95ebf32f2985f6800634932230.tar.lz
cuberite-397208145ebe5c95ebf32f2985f6800634932230.tar.xz
cuberite-397208145ebe5c95ebf32f2985f6800634932230.tar.zst
cuberite-397208145ebe5c95ebf32f2985f6800634932230.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 e7d3e0629..b246e8196 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("\r%s", Line.c_str());
+ printf("\n%s", Line.c_str()); // We are at line to be replaced, but since we can't, add a new line
return false;
}
#ifdef _WIN32