diff options
author | Bert Münnich <ber.t@posteo.de> | 2016-12-01 20:33:24 +0100 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2016-12-01 21:18:41 +0100 |
commit | ff2ce99bf7dc08ce8eae47dd980c7af60ad51197 (patch) | |
tree | 5a96b7fc9d021f31fbce6c847efcfee7d4d79269 /options.c | |
parent | 9a85dd41d8551f82a5d00c8e0dd0807e23bbdc6d (diff) | |
parent | 27bbaab976e02d2458099de96ec71d14aa1ade8e (diff) |
Merge djhejna/floatdelay
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -136,7 +136,7 @@ void parse_options(int argc, char **argv) _options.recursive = true; break; case 'S': - n = strtol(optarg, &end, 0); + n = strtof(optarg, &end) * 10; if (*end != '\0' || n <= 0) error(EXIT_FAILURE, 0, "Invalid argument for option -S: %s", optarg); _options.slideshow = n; |