summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--thumbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumbs.c b/thumbs.c
index 63f08d3..6315b8c 100644
--- a/thumbs.c
+++ b/thumbs.c
@@ -262,7 +262,7 @@ int tns_load(tns_t *tns, int n, const fileinfo_t *file,
(void) fmt;
#ifdef EXIF_SUPPORT
- if (!cache_hit !strcmp(fmt, "jpeg"))
+ if (!cache_hit && !strcmp(fmt, "jpeg"))
exif_auto_orientate(file);
#endif