Krolyxon
Commit 91d9b31

Branches

Refs →

nsxiv91d9b31

change gamma on -G

Author
NRK
Date
2021-09-12 16:54 +0600
Committer
Berke Kocaoğlu · 2021-09-16 22:55 +0300
Parent
ca692ac
Commit
91d9b3128eb5502306f688e68c42e83b3020cb56

+1 −1

1 file changed

  1. M image.c +1 −1
M image.c View
@@ -70,7 +70,7 @@ void img_init(img_t *img, win_t *win)
7070
7171 img->cmod = imlib_create_color_modifier();
7272 imlib_context_set_color_modifier(img->cmod);
73− img->gamma = MIN(MAX(options->gamma, -GAMMA_RANGE), GAMMA_RANGE);
73+ img_change_gamma(img, options->gamma);
7474
7575 img->ss.on = options->slideshow > 0;
7676 img->ss.delay = options->slideshow > 0 ? options->slideshow : SLIDESHOW_DELAY * 10;