aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/image.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c
index e1b167de3d2..f22394fb7cb 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8560,6 +8560,7 @@ imagemagick_load_image (struct frame *f, struct image *img,
8560 return 0; 8560 return 0;
8561 } 8561 }
8562 8562
8563#ifdef HAVE_MAGICKAUTOORIENTIMAGE
8563 /* If no :rotation is explicitly specified, apply the automatic 8564 /* If no :rotation is explicitly specified, apply the automatic
8564 rotation from EXIF. */ 8565 rotation from EXIF. */
8565 if (NILP (image_spec_value (img->spec, QCrotation, NULL))) 8566 if (NILP (image_spec_value (img->spec, QCrotation, NULL)))
@@ -8569,6 +8570,7 @@ imagemagick_load_image (struct frame *f, struct image *img,
8569 DestroyMagickWand (image_wand); 8570 DestroyMagickWand (image_wand);
8570 return 0; 8571 return 0;
8571 } 8572 }
8573#endif
8572 8574
8573 if (ino < 0 || ino >= MagickGetNumberImages (image_wand)) 8575 if (ino < 0 || ino >= MagickGetNumberImages (image_wand))
8574 { 8576 {