From 14486a1036dc8192ebc75a43a3e6c75fa5c8683f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 24 Jul 2011 10:01:58 -0400 Subject: [PATCH] * src/xml.c: Fix Lisp_Object/int mixup. --- src/xml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xml.c b/src/xml.c index 600dcd11616..55352baae3a 100644 --- a/src/xml.c +++ b/src/xml.c @@ -128,13 +128,13 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, int html Lisp_Object r = Qnil; while (n) { - if (r != Qnil) + if (!NILP (r)) result = Fcons (r, result); r = make_dom (n); n = n->next; } - if (result == Qnil) + if (NILP (result)) result = r; else result = Fcons (intern ("top"), -- 2.39.2