X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8c4e041bdbc07a159305b41e1bcb64f1d301b99f..a644fa367504c4587c1b9e5fc20b7af79e6e99a0:/src/image.c diff --git a/src/image.c b/src/image.c index f22394fb7c..af65fdec7d 100644 --- a/src/image.c +++ b/src/image.c @@ -8672,7 +8672,7 @@ imagemagick_load_image (struct frame *f, struct image *img, image_spec_value (img->spec, QCbackground, NULL); if (!STRINGP (specified_bg). */ value = image_spec_value (img->spec, QCrotation, NULL); - if (FLOATP (value) || INTEGERP (value)) + if (FLOATP (value)) { rotation = extract_float (value); status = MagickRotateImage (image_wand, bg_wand, rotation);