Fix erroneous () in DebugReport:: printouts. (#517)

This commit is contained in:
Kyle Sanderson 2016-10-03 08:29:51 -07:00 committed by Asher Baker
parent 47dd2870d9
commit 2deaa666f3

View File

@ -185,7 +185,7 @@ void DebugReport::ReportError(const IErrorReport &report, IFrameIterator &iter)
if (blame) if (blame)
{ {
g_Logger.LogError("[SM] Blaming: %s()", blame); g_Logger.LogError("[SM] Blaming: %s", blame);
} }
if (!iter.Done()) if (!iter.Done())
@ -211,7 +211,7 @@ void DebugReport::ReportError(const IErrorReport &report, IFrameIterator &iter)
{ {
file = "<unknown>"; file = "<unknown>";
} }
g_Logger.LogError("[SM] [%d] Line %d, %s::%s()", g_Logger.LogError("[SM] [%d] Line %d, %s::%s",
index, index,
iter.LineNumber(), iter.LineNumber(),
file, file,