diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-10-13 16:50:06 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-10-13 16:50:06 +0200 |
commit | 4383a651c733ac59cd00f193c5115567f6a72f5d (patch) | |
tree | 081c4c4f13da21379e4d96a70734e945e6305ca3 /image.c | |
parent | a09b20c5e63839b10bae306e4a23ca5a9d8ebac0 (diff) |
Strictly adhere to ANSI-C standard
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |