summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-02-11 09:42:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-02-11 09:42:20 +0100
commit668fad7ad971b42c90222189acf7380955622e58 (patch)
tree03b7544685785a0c8ad2ff4b99ec089dcb80f220 /src
parent553d6f9060d867cf05bd21d8669751b31bbe11dd (diff)
Unset "start paused" flag on positive slideshow delay
This fixes "feh -D -1 -D 1" and similar starting the slideshow in paused mode even though the last -D option specifies autostart.
Diffstat (limited to 'src')
-rw-r--r--src/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index c9b5a1c..b34dbe9 100644
--- a/src/options.c
+++ b/src/options.c
@@ -470,6 +470,8 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
if (opt.slideshow_delay < 0.0) {
opt.slideshow_delay *= (-1);
opt.paused = 1;
+ } else {
+ opt.paused = 0;
}
break;
case 'E':