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