TOOLS: Add EOL in the Tool print, warning and error function

This is consistent with the Common warning and error functions from
both ScummVM and the tools. Only the functions from the class Tool
didn't add EOL automatically. Unsurprisingly the End Of Line was
then missing in many places were these functions were called.
This commit is contained in:
Thierry Crozat
2011-11-24 22:06:47 +00:00
parent d38124f03c
commit 9a505bf162
28 changed files with 168 additions and 168 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ void CompressionExample::execute() {
// Print can also throw an AbortException
// Do NOT use printf or anything else that outputs to standard output, as it will not display in the GUI.
print("Outputted file %d of %d\n", i, total_files);
print("Outputted file %d of %d", i, total_files);
}
// We indicate success by not throwing any exceptions during the execution