From ef50bfc5251ccfd55ccea214becc3654530a5675 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sun, 14 May 2017 19:32:50 +0200 Subject: Inkview: Print warning of no (valid) files are found in input (bzr r15696) --- src/inkview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/inkview.cpp') 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 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); -- cgit v1.2.3