Revert "A newline issue is resolved"
This reverts commit 397208145ebe5c95ebf32f2985f6800634932230.
This commit is contained in:
parent
070962fb8a
commit
e4b666989d
@ -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)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
@ -150,6 +150,7 @@ void cMCLogger::Log(const char * a_Format, va_list a_ArgList, bool a_ShouldRepla
|
|||||||
if (!m_Log->LogReplaceLine(a_Format, a_ArgList))
|
if (!m_Log->LogReplaceLine(a_Format, a_ArgList))
|
||||||
{
|
{
|
||||||
m_BeginLineUpdate = false;
|
m_BeginLineUpdate = false;
|
||||||
|
puts("");
|
||||||
}
|
}
|
||||||
ResetColor();
|
ResetColor();
|
||||||
|
|
||||||
@ -161,6 +162,7 @@ void cMCLogger::Log(const char * a_Format, va_list a_ArgList, bool a_ShouldRepla
|
|||||||
if (!m_Log->LogReplaceLine(a_Format, a_ArgList))
|
if (!m_Log->LogReplaceLine(a_Format, a_ArgList))
|
||||||
{
|
{
|
||||||
m_BeginLineUpdate = false;
|
m_BeginLineUpdate = false;
|
||||||
|
puts("");
|
||||||
}
|
}
|
||||||
ResetColor();
|
ResetColor();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user