diff options
| author | Stefan Monnier | 2011-07-24 10:01:58 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2011-07-24 10:01:58 -0400 |
| commit | 14486a1036dc8192ebc75a43a3e6c75fa5c8683f (patch) | |
| tree | 3e1aa930a13037076bca17f825a354e57bcbe9b8 /src/xml.c | |
| parent | 0b3f36df8c6eae67c267ebe4de0cb4006e0c7251 (diff) | |
| download | emacs-14486a1036dc8192ebc75a43a3e6c75fa5c8683f.tar.gz emacs-14486a1036dc8192ebc75a43a3e6c75fa5c8683f.zip | |
* src/xml.c: Fix Lisp_Object/int mixup.
Diffstat (limited to 'src/xml.c')
| -rw-r--r-- | src/xml.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -128,13 +128,13 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, int html | |||
| 128 | Lisp_Object r = Qnil; | 128 | Lisp_Object r = Qnil; |
| 129 | 129 | ||
| 130 | while (n) { | 130 | while (n) { |
| 131 | if (r != Qnil) | 131 | if (!NILP (r)) |
| 132 | result = Fcons (r, result); | 132 | result = Fcons (r, result); |
| 133 | r = make_dom (n); | 133 | r = make_dom (n); |
| 134 | n = n->next; | 134 | n = n->next; |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | if (result == Qnil) | 137 | if (NILP (result)) |
| 138 | result = r; | 138 | result = r; |
| 139 | else | 139 | else |
| 140 | result = Fcons (intern ("top"), | 140 | result = Fcons (intern ("top"), |