From 28932fc7b65e17b2d8957d52fd95e8eb45a29105 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 12 Nov 2021 12:00:01 +0900 Subject: [PATCH] svg2png: update the error messages. @Issue: https://github.com/Samsung/thorvg/issues/1031 --- src/bin/svg2png/svg2png.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/svg2png/svg2png.cpp b/src/bin/svg2png/svg2png.cpp index c646918..567365f 100644 --- a/src/bin/svg2png/svg2png.cpp +++ b/src/bin/svg2png/svg2png.cpp @@ -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; } } } -- 2.7.4