fix: compile error (#182)

* fix compile error

* use variable instead of macro

* Revert "use variable instead of macro"

This reverts commit a14ef0b231.

* use local variable instead of macro

* Revert "use local variable instead of macro"

This reverts commit 7e049d55d9.
pull/162/head
N-R-K 3 years ago committed by GitHub
parent 79b8fefcc4
commit 36a4847bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,8 +43,8 @@ enum { DEF_GIF_DELAY = 75 };
enum { DEF_WEBP_DELAY = 75 };
#endif
static const float ZOOM_MIN = zoom_levels[0] / 100;
static const float ZOOM_MAX = zoom_levels[ARRLEN(zoom_levels)-1] / 100;
#define ZOOM_MIN (zoom_levels[0] / 100)
#define ZOOM_MAX (zoom_levels[ARRLEN(zoom_levels)-1] / 100)
void img_init(img_t *img, win_t *win)
{

Loading…
Cancel
Save