* src/image.c (image_set_transform): Don't use ! for Lisp object.
This commit is contained in:
parent
9ab51428cd
commit
222d70333f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue