1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(substring_both): Add missing address operator.

This commit is contained in:
Juanma Barranquero 2006-11-24 19:55:23 +00:00
parent 46ac3660d0
commit 5ee699a782
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-11-24 Juanma Barranquero <lekktu@gmail.com>
* fns.c (substring_both): Add missing address operator.
2006-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
* fns.c: Use AREF/ASIZE macros.

View File

@ -1397,7 +1397,7 @@ substring_both (string, from, from_byte, to, to_byte)
string, make_number (0), res, Qnil);
}
else
res = Fvector (to - from, AREF (string, from));
res = Fvector (to - from, &AREF (string, from));
return res;
}