summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slideshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index d62f780..d736d6f 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -198,7 +198,7 @@ slideshow_change_image(winwidget winwid, int change)
/* Without this, clicking a one-image slideshow reloads it. Not very *
intelligent behaviour :-) */
- if (filelist_len < 2)
+ if (filelist_len < 2 && opt.cycle_once == 0)
D_RETURN_(4);
/* Ok. I do this in such an odd way to ensure that if the last or first *