summaryrefslogtreecommitdiffstats
path: root/thumbs.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-08 16:19:30 +0200
committerBert <ber.t@gmx.com>2011-09-08 16:19:30 +0200
commit03b8e85a4f9918bf69eb0fee079c8c50edcf0efc (patch)
treeabd345901adb61d33619f382b2b3e1b667924afe /thumbs.c
parent348707a366f4d55bdb3664d0e54bf93ef17f8a67 (diff)
downloadnsxiv-03b8e85a4f9918bf69eb0fee079c8c50edcf0efc.tar.zst
Fixed exif-only typo in tns_load()
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 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