Skip to content

Commit b7b065e

Browse files
authored
Removed extra \r\n in WARNING/ERROR SUMMARY
As we have added new line(\r\n) to individual warning/error log, the extra \r\n added in WARNING/ERROR SUMMARY can be removed. Otherwise a blank line will be shown after each line.
1 parent f94b821 commit b7b065e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SRC/scriptCompile.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5234,7 +5234,7 @@ static void ClearTopicConcept(WORDP D, uint64 build)
52345234
static void DumpErrors()
52355235
{
52365236
if (errorIndex) Log(ECHOSTDTRACELOG,(char*)"\r\n ERROR SUMMARY: \r\n");
5237-
for (unsigned int i = 0; i < errorIndex; ++i) Log(ECHOSTDTRACELOG,(char*)" %s\r\n",errors[i]);
5237+
for (unsigned int i = 0; i < errorIndex; ++i) Log(ECHOSTDTRACELOG,(char*)" %s",errors[i]);
52385238
}
52395239

52405240
static void DumpWarnings()
@@ -5247,7 +5247,7 @@ static void DumpWarnings()
52475247
else if (strstr(warnings[i],(char*)"is unknown as a word")) {}
52485248
else if (strstr(warnings[i],(char*)"in opposite case")){}
52495249
else if (strstr(warnings[i],(char*)"a function call")){}
5250-
else Log(ECHOSTDTRACELOG,(char*)" %s\r\n",warnings[i]);
5250+
else Log(ECHOSTDTRACELOG,(char*)" %s",warnings[i]);
52515251
}
52525252
}
52535253

0 commit comments

Comments
 (0)