summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-02-05 18:06:25 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2010-02-05 18:06:25 +0100
commitb15926352cbd4b56cfded66af126a4e7378c6178 (patch)
treee8897e3912008206845a986ef03cd0867d14fffe
parent29a9dd9172a6dc92c55960a9f0652660193d8914 (diff)
Apply 02_changeset_r53_slideshow_fix.patch from Debian
-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 *