From 30a13f3f427beaf22ac0c2e3efba4f2197ef9c4c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 7 Feb 2010 00:51:33 +0100 Subject: Update "No more slides in show" comment --- src/slideshow.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/slideshow.c b/src/slideshow.c index 60428f1..d5acfc7 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -291,8 +291,14 @@ slideshow_change_image(winwidget winwid, int change) } if (!success) { - /* We didn't manage to load any files. Maybe the last one in the show - was deleted? */ + /* We get here if three files in a row could not be loaded. + * However, it seems that this piece of code is never reached when feh + * would otherwise fail; it's only executed in the aforementioned case, + * causing slideshows to exit although there still are lots of working slides. + * + * This warning will remain here for now, in case someone finds circumstances + * in which we actually need to exit feh here. + */ weprintf("No more slides in show?"); } if (opt.slideshow_delay >= 0.0) -- cgit v1.2.3