diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-09-26 21:53:52 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-09-26 21:53:52 +0200 |
commit | d721d8453e6c0ff7112e8228eb58aa438d1f7f1a (patch) | |
tree | 449e393e7bb614b150f4c72b3998ae5ced95e201 /image.c | |
parent | d08408e94250425e677e1ab33d917e05e229faa2 (diff) | |
download | nsxiv-d721d8453e6c0ff7112e8228eb58aa438d1f7f1a.tar.zst |
Added STREQ macro
Diffstat (limited to 'image.c')
-rw-r--r-- | image.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |