1
0

A newline issue is resolved

This commit is contained in:
Tiger Wang 2014-01-31 23:25:15 +00:00
parent 6b18add09b
commit 397208145e
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -150,7 +150,6 @@ void cMCLogger::Log(const char * a_Format, va_list a_ArgList, bool a_ShouldRepla
if (!m_Log->LogReplaceLine(a_Format, a_ArgList))
{
m_BeginLineUpdate = false;
puts("");
}
ResetColor();
@ -162,7 +161,6 @@ void cMCLogger::Log(const char * a_Format, va_list a_ArgList, bool a_ShouldRepla
if (!m_Log->LogReplaceLine(a_Format, a_ArgList))
{
m_BeginLineUpdate = false;
puts("");
}
ResetColor();
#endif