summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp
diff options
context:
space:
mode:
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);