From d721d8453e6c0ff7112e8228eb58aa438d1f7f1a Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Mon, 26 Sep 2011 21:53:52 +0200 Subject: Added STREQ macro --- image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'image.c') diff --git a/image.c b/image.c index 9892e7a..9896a54 100644 --- a/image.c +++ b/image.c @@ -303,11 +303,11 @@ bool img_load(img_t *img, const fileinfo_t *file) { (void) fmt; #if EXIF_SUPPORT - if (!strcmp(fmt, "jpeg")) + if (STREQ(fmt, "jpeg")) exif_auto_orientate(file); #endif #if GIF_SUPPORT - if (!strcmp(fmt, "gif")) + if (STREQ(fmt, "gif")) img_load_gif(img, file); #endif -- cgit v1.2.3-54-g00ecf