From 4383a651c733ac59cd00f193c5115567f6a72f5d Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Thu, 13 Oct 2011 16:50:06 +0200 Subject: Strictly adhere to ANSI-C standard --- image.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'image.c') diff --git a/image.c b/image.c index 3363d56..0547fd9 100644 --- a/image.c +++ b/image.c @@ -43,7 +43,6 @@ enum { MIN_GIF_DELAY = 50 }; float zoom_min; float zoom_max; -static inline bool zoomdiff(float z1, float z2) { const float mindelta = 0.001; return (z1 - z2 > mindelta) || (z1 - z2 < mindelta); @@ -311,11 +310,11 @@ bool img_load(img_t *img, const fileinfo_t *file) { (void) fmt; #if EXIF_SUPPORT - if (streq(fmt, "jpeg")) + if (STREQ(fmt, "jpeg")) exif_auto_orientate(file); #endif #if GIF_SUPPORT - if (streq(fmt, "gif")) + if (STREQ(fmt, "gif")) img_load_gif(img, file); #endif -- cgit v1.2.3