svg2png: update the error messages.

@Issue: https://github.com/Samsung/thorvg/issues/1031
This commit is contained in:
Hermet Park 2021-11-12 12:00:01 +09:00
parent ae3dae8c55
commit 15412907b8

View file

@ -233,11 +233,11 @@ public:
if ((ret = renderFile(real_path))) break;
} else {
//not a directory and not .svg file
cout << "Warning: File \"" << path << "\" is not a proper svg file." << endl;
cout << "Error: File \"" << path << "\" is not a proper svg file." << endl;
}
} else {
cout << "Warning: File \"" << path << "\" is invalid." << endl;
cout << "Error: Invalid file or path name: \"" << path << "\"" << endl;
}
}
}