summaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@gmx.com>2011-09-26 21:53:52 +0200
committerBert Münnich <ber.t@gmx.com>2011-09-26 21:53:52 +0200
commitd721d8453e6c0ff7112e8228eb58aa438d1f7f1a (patch)
tree449e393e7bb614b150f4c72b3998ae5ced95e201 /thumbs.c
parentd08408e94250425e677e1ab33d917e05e229faa2 (diff)
downloadnsxiv-d721d8453e6c0ff7112e8228eb58aa438d1f7f1a.tar.zst
Added STREQ macro
Diffstat (limited to 'thumbs.c')
-rw-r--r--thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbs.c b/thumbs.c
index 11c580f..92fbd22 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -255,7 +255,7 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file,
(void) fmt;
#if EXIF_SUPPORT
- if (!cache_hit && !strcmp(fmt, "jpeg"))
+ if (!cache_hit && STREQ(fmt, "jpeg"))
exif_auto_orientate(file);
#endif