aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorStefan Kangas2022-01-26 00:42:10 +0100
committerStefan Kangas2022-01-26 00:42:10 +0100
commit51fdcca000f7ee5b08115a81e58b2e56036fade6 (patch)
treeb999276b991efc788a42447f063269389761402e /src/image.c
parentfb16a6c124c99a0e58dc8152b9a803c8a28e2436 (diff)
downloademacs-51fdcca000f7ee5b08115a81e58b2e56036fade6.tar.gz
emacs-51fdcca000f7ee5b08115a81e58b2e56036fade6.zip
* src/image.c (parse_image_spec): Use NILP.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 951531505e6..32e03ab6f75 100644
--- a/src/image.c
+++ b/src/image.c
@@ -1177,7 +1177,7 @@ parse_image_spec (Lisp_Object spec, struct image_keyword *keywords,
1177 return false; 1177 return false;
1178 1178
1179 maybe_done: 1179 maybe_done:
1180 if (EQ (XCDR (plist), Qnil)) 1180 if (NILP (XCDR (plist)))
1181 { 1181 {
1182 /* Check that all mandatory fields are present. */ 1182 /* Check that all mandatory fields are present. */
1183 for (i = 0; i < nkeywords; ++i) 1183 for (i = 0; i < nkeywords; ++i)