aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'image.c')
-rw-r--r--image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/image.c b/image.c
index aab8f41..857a7b3 100644
--- a/image.c
+++ b/image.c
@@ -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)
{