summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-02-07 00:51:33 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-02-07 00:51:33 +0100
commit30a13f3f427beaf22ac0c2e3efba4f2197ef9c4c (patch)
tree273b301a4660ad087d304ac74a0d5f16f20c29ee /src
parent3127d0063fdaec87c18369566aa397c2078b4b6c (diff)
Update "No more slides in show" comment
Diffstat (limited to 'src')
-rw-r--r--src/slideshow.c10
1 files 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)