aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Stephani2021-03-11 11:05:32 +0100
committerPhilipp Stephani2021-03-11 11:05:32 +0100
commit222d70333f2cfeefa6c3430fc54714bd122cc779 (patch)
tree9c1b92b1dc847af5260665a99fbbe234ea8b051a /src
parent9ab51428cd53f1e3160fad85c952b956d18ed442 (diff)
downloademacs-222d70333f2cfeefa6c3430fc54714bd122cc779.tar.gz
emacs-222d70333f2cfeefa6c3430fc54714bd122cc779.zip
* src/image.c (image_set_transform): Don't use ! for Lisp object.
Diffstat (limited to 'src')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 025ee72703c..6d493f6cdd4 100644
--- a/src/image.c
+++ b/src/image.c
@@ -2234,7 +2234,7 @@ image_set_transform (struct frame *f, struct image *img)
2234 TODO: implement for Windows. */ 2234 TODO: implement for Windows. */
2235 bool smoothing; 2235 bool smoothing;
2236 Lisp_Object s = image_spec_value (img->spec, QCtransform_smoothing, NULL); 2236 Lisp_Object s = image_spec_value (img->spec, QCtransform_smoothing, NULL);
2237 if (!s) 2237 if (NILP (s))
2238 smoothing = (width < img->width) || (height < img->height); 2238 smoothing = (width < img->width) || (height < img->height);
2239 else 2239 else
2240 smoothing = !NILP (s); 2240 smoothing = !NILP (s);