From: Philipp Stephani Date: Thu, 11 Mar 2021 10:05:32 +0000 (+0100) Subject: * src/image.c (image_set_transform): Don't use ! for Lisp object. X-Git-Tag: emacs-28.0.90~3330 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=222d70333f2cfeefa6c3430fc54714bd122cc779;p=emacs.git * src/image.c (image_set_transform): Don't use ! for Lisp object. --- 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) TODO: implement for Windows. */ bool smoothing; Lisp_Object s = image_spec_value (img->spec, QCtransform_smoothing, NULL); - if (!s) + if (NILP (s)) smoothing = (width < img->width) || (height < img->height); else smoothing = !NILP (s);