summaryrefslogtreecommitdiff
path: root/src/textprop.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-01-02 21:32:10 +0000
committerRichard M. Stallman <rms@gnu.org>1995-01-02 21:32:10 +0000
commit60801aeba1c155cf2bb13d304ec08436abbed093 (patch)
tree6a7ce3b67935afb44eb6d123c8d0b9829b230729 /src/textprop.c
parentfef92979ae3cefcb8e7afb5f98044b5b986baf3e (diff)
downloademacs-60801aeba1c155cf2bb13d304ec08436abbed093.tar.gz
(validate_interval_range): Use BUF_INTERVALS.
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 379cd2a7f80..002e7636ea6 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -124,7 +124,7 @@ validate_interval_range (object, begin, end, force)
if (!(BUF_BEGV (b) <= XINT (*begin) && XINT (*begin) <= XINT (*end)
&& XINT (*end) <= BUF_ZV (b)))
args_out_of_range (*begin, *end);
- i = b->intervals;
+ i = BUF_INTERVALS (b);
/* If there's no text, there are no properties. */
if (BUF_BEGV (b) == BUF_ZV (b))