diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/keyevents.c | 2 | ||||
-rw-r--r-- | src/options.c | 2 | ||||
-rw-r--r-- | src/options.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index 343b5d1..18853ed 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -750,7 +750,7 @@ void feh_event_handle_keypress(XEvent * ev) if (opt.reload < SLIDESHOW_RELOAD_MAX) opt.reload++; else if (opt.verbose) - weprintf("Cannot set RELOAD higher than %d seconds.", opt.reload); + weprintf("Cannot set RELOAD higher than %f seconds.", opt.reload); } else if (feh_is_kp(&keys.reload_minus, keysym, state)) { if (opt.reload > 1) diff --git a/src/options.c b/src/options.c index c27e11e..6f11d07 100644 --- a/src/options.c +++ b/src/options.c @@ -590,7 +590,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) } break; case 'R': - opt.reload = atoi(optarg); + opt.reload = atof(optarg); break; case 'a': opt.alpha = 1; diff --git a/src/options.h b/src/options.h index cef4215..a763642 100644 --- a/src/options.h +++ b/src/options.h @@ -97,7 +97,7 @@ struct __fehoptions { int limit_w; int limit_h; unsigned int thumb_redraw; - int reload; + double reload; int sort; int debug; int geom_flags; |