mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 12:20:39 -08:00
(validate_interval_range): Don't use XFASTINT as an lvalue.
This commit is contained in:
parent
e8e536a996
commit
330e7312a3
1 changed files with 2 additions and 2 deletions
|
|
@ -141,9 +141,9 @@ validate_interval_range (object, begin, end, force)
|
|||
args_out_of_range (*begin, *end);
|
||||
/* User-level Positions in strings start with 0,
|
||||
but the interval code always wants positions starting with 1. */
|
||||
XFASTINT (*begin) += 1;
|
||||
XSETFASTINT (*begin, XFASTINT (*begin) + 1);
|
||||
if (begin != end)
|
||||
XFASTINT (*end) += 1;
|
||||
XSETFASTINT (*end, XFASTINT (*end) + 1);
|
||||
i = s->intervals;
|
||||
|
||||
if (s->size == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue