mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-20 06:52:03 +00:00
svg2png: update the error messages.
@Issue: https://github.com/Samsung/thorvg/issues/1031
This commit is contained in:
parent
ae3dae8c55
commit
15412907b8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue