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
+2 -2
View File
@@ -572,7 +572,7 @@ void EncodeDXA::execute() {
// read some data from the Bink or Smacker file.
readVideoInfo(&inpath, width, height, framerate, frames, scaleMode);
print("Width = %d, Height = %d, Framerate = %d, Frames = %d\n",
print("Width = %d, Height = %d, Framerate = %d, Frames = %d",
width, height, framerate, frames);
// create the encoder object
@@ -640,7 +640,7 @@ void EncodeDXA::execute() {
}
}
print("Encoding video...100%% (%d of %d)\n", frames, frames);
print("Encoding video...100%% (%d of %d)", frames, frames);
}
int EncodeDXA::read_png_file(const char* filename, unsigned char *&image, unsigned char *&palette, int &width, int &height) {