projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ab5142
)
* src/image.c (image_set_transform): Don't use ! for Lisp object.
author
Philipp Stephani
<phst@google.com>
Thu, 11 Mar 2021 10:05:32 +0000
(11:05 +0100)
committer
Philipp Stephani
<phst@google.com>
Thu, 11 Mar 2021 10:05:32 +0000
(11:05 +0100)
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index 025ee72703c0702eaf3281d81bf20d79e918dbff..6d493f6cdd4c1222212113d136150111405edb51 100644
(file)
--- 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);