mirror of
https://github.com/scummvm/scummvm-tools.git
synced 2026-05-21 05:40:44 +00:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user