From 5ee699a78215c1d583e0542e90fbe2e18cfaa006 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 24 Nov 2006 19:55:23 +0000 Subject: [PATCH] (substring_both): Add missing address operator. --- src/ChangeLog | 4 ++++ src/fns.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.39.2