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:
+2
-2
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user