aboutsummaryrefslogtreecommitdiff
path: root/image.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2011-10-13 16:50:06 +0200
committerBert Münnich <ber.t@gmx.com>2011-10-13 16:50:06 +0200
commit4383a651c733ac59cd00f193c5115567f6a72f5d (patch)
tree081c4c4f13da21379e4d96a70734e945e6305ca3 /image.c
parenta09b20c5e63839b10bae306e4a23ca5a9d8ebac0 (diff)
Strictly adhere to ANSI-C standard
Diffstat (limited to 'image.c')
-rw-r--r--image.c5
1 files changed, 2 insertions, 3 deletions
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