diff --git a/src/list.c b/src/list.c index 5663ed3acc6e249965f444396e66740d7de51393..53fdb360cb590fc89cb5f95ca47fbac4c16a929d 100644 --- a/src/list.c +++ b/src/list.c @@ -89,21 +89,33 @@ void real_loadables_mode(int loadable) if (feh_load_image(&im, file)) { /* loaded ok */ if (loadable) { + if (opt.verbose) + feh_display_status('.'); puts(file->filename); feh_action_run(file, opt.actions[0]); } - else + else { + if (opt.verbose) + feh_display_status('s'); ret = 1; + } gib_imlib_free_image_and_decache(im); } else { /* Oh dear. */ if (!loadable) { + if (opt.verbose) + feh_display_status('.'); puts(file->filename); feh_action_run(file, opt.actions[0]); } - else + else { + if (opt.verbose) + feh_display_status('.'); ret = 1; + } } } + if (opt.verbose) + feh_display_status(0); exit(ret); }