From: Juanma Barranquero Date: Fri, 24 Nov 2006 19:55:23 +0000 (+0000) Subject: (substring_both): Add missing address operator. X-Git-Tag: emacs-pretest-22.0.92~526 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ee699a78215c1d583e0542e90fbe2e18cfaa006;p=emacs.git (substring_both): Add missing address operator. --- diff --git a/src/ChangeLog b/src/ChangeLog index 10533c8c7e6..ad17ba8624e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-11-24 Juanma Barranquero + + * fns.c (substring_both): Add missing address operator. + 2006-11-24 Stefan Monnier * fns.c: Use AREF/ASIZE macros. diff --git a/src/fns.c b/src/fns.c index 7100ada4a6a..f65375438fa 100644 --- a/src/fns.c +++ b/src/fns.c @@ -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; }