diff options
| author | Philipp Stephani | 2021-03-11 11:05:32 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2021-03-11 11:05:32 +0100 |
| commit | 222d70333f2cfeefa6c3430fc54714bd122cc779 (patch) | |
| tree | 9c1b92b1dc847af5260665a99fbbe234ea8b051a /src | |
| parent | 9ab51428cd53f1e3160fad85c952b956d18ed442 (diff) | |
| download | emacs-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.c | 2 |
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); |