summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-09-25 18:38:44 +0000
committerGerd Moellmann <gerd@gnu.org>2000-09-25 18:38:44 +0000
commit755a2ccd6e0bd1b9ee90bf3d1f5fa80261cb0395 (patch)
tree47c897bebc6f7699db16872b01b3e63408842e91
parent7df6adc3c778856d94b9d78681c5f71851834bc7 (diff)
downloademacs-755a2ccd6e0bd1b9ee90bf3d1f5fa80261cb0395.tar.gz
(mark_image): Use GC_NILP instead of NILP.
-rw-r--r--src/ChangeLog2
-rw-r--r--src/alloc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4e378dc1852..5614b421a56 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2000-09-25 Gerd Moellmann <gerd@gnu.org>
+ * alloc.c (mark_image): Use GC_NILP instead of NILP.
+
* keyboard.c (show_help_echo): Set help_echo_showing_p.
(read_char): If help-echo is showing, preserve the echo area
when redisplaying.
diff --git a/src/alloc.c b/src/alloc.c
index 75466a787c7..5f08cd07d81 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3769,7 +3769,7 @@ mark_image (img)
{
mark_object (&img->spec);
- if (!NILP (img->data.lisp_val))
+ if (!GC_NILP (img->data.lisp_val))
mark_object (&img->data.lisp_val);
}