summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-05-14 17:32:50 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-05-14 17:32:50 +0000
commitef50bfc5251ccfd55ccea214becc3654530a5675 (patch)
tree0d194e2230ca924713068c59b6f4b80997c14e10 /src/inkview.cpp
parentInkview: New option -r or --recursive which make Inkview search recursively f... (diff)
downloadinkscape-ef50bfc5251ccfd55ccea214becc3654530a5675.tar.gz
inkscape-ef50bfc5251ccfd55ccea214becc3654530a5675.zip
Inkview: Print warning of no (valid) files are found in input
(bzr r15696)
Diffstat (limited to 'src/inkview.cpp')
-rw-r--r--src/inkview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp
index 38efb6549..0b2b07f42 100644
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
@@ -210,7 +210,8 @@ int main (int argc, char **argv)
std::vector<Glib::ustring> valid_files = get_valid_files(options.filenames, options.recursive, true);
if(valid_files.empty()) {
- return 1; /* none of the slides loadable */
+ g_printerr("%s\n", _("No valid files to load."));
+ return 1; /* none of the slides loadable */
}
SPSlideShow ss(valid_files, options.fullscreen, options.timer, options.scale);