diff options
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -74,8 +74,8 @@ void img_init(img_t *img, win_t *win) imlib_context_set_color_modifier(img->cmod); img->gamma = MIN(MAX(options->gamma, -GAMMA_RANGE), GAMMA_RANGE); - img->ss.on = options->slideshow > 0; - img->ss.delay = options->slideshow > 0 ? options->slideshow : SLIDESHOW_DELAY; + img->ss.on = options->slideshow > 0.0; + img->ss.delay = options->slideshow > 0.0 ? options->slideshow : SLIDESHOW_DELAY; } #if HAVE_LIBEXIF |