projects
/
platform
/
core
/
graphics
/
tizenvg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b80833
)
svg2png: update the error messages.
author
Hermet Park
<chuneon.park@samsung.com>
Fri, 12 Nov 2021 03:00:01 +0000
(12:00 +0900)
committer
JunsuChoi
<jsuya.choi@samsung.com>
Tue, 16 Nov 2021 08:37:47 +0000
(17:37 +0900)
@Issue: https://github.com/Samsung/thorvg/issues/1031
src/bin/svg2png/svg2png.cpp
patch
|
blob
|
history
diff --git
a/src/bin/svg2png/svg2png.cpp
b/src/bin/svg2png/svg2png.cpp
index
c646918
..
567365f
100644
(file)
--- 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;
}
}
}