diff options
| author | Jim Blandy | 1993-07-05 07:57:34 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-05 07:57:34 +0000 |
| commit | 375aa801bac081fcb10f105b73fd7fbd2c535567 (patch) | |
| tree | c170339b6ee6e1a5c7187c9cc0b5506d5b087f2c /src/intervals.c | |
| parent | aab06933fa5982424b8831c6e1e6bf7f2cc9611c (diff) | |
| download | emacs-375aa801bac081fcb10f105b73fd7fbd2c535567.tar.gz emacs-375aa801bac081fcb10f105b73fd7fbd2c535567.zip | |
* intervals.c (intervals_equal): Test the return value of Fequal
against Qnil, not 0.
Diffstat (limited to 'src/intervals.c')
| -rw-r--r-- | src/intervals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c index 3d30e21c3ee..1e57fd15632 100644 --- a/src/intervals.c +++ b/src/intervals.c | |||
| @@ -159,7 +159,7 @@ intervals_equal (i0, i1) | |||
| 159 | 159 | ||
| 160 | /* i0 and i1 both have sym, but it has different values in each */ | 160 | /* i0 and i1 both have sym, but it has different values in each */ |
| 161 | i0_cdr = Fcdr (i0_cdr); | 161 | i0_cdr = Fcdr (i0_cdr); |
| 162 | if (! Fequal (i1_val, Fcar (i0_cdr))) | 162 | if (NILP (Fequal (i1_val, Fcar (i0_cdr)))) |
| 163 | return 0; | 163 | return 0; |
| 164 | 164 | ||
| 165 | i0_cdr = Fcdr (i0_cdr); | 165 | i0_cdr = Fcdr (i0_cdr); |