From 222d70333f2cfeefa6c3430fc54714bd122cc779 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Thu, 11 Mar 2021 11:05:32 +0100 Subject: [PATCH] * src/image.c (image_set_transform): Don't use ! for Lisp object. --- src/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2