]> git.eshelyaron.com Git - emacs.git/commitdiff
(substring_both): Add missing address operator.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 24 Nov 2006 19:55:23 +0000 (19:55 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 24 Nov 2006 19:55:23 +0000 (19:55 +0000)
src/ChangeLog
src/fns.c

index 10533c8c7e62e75436e9465af315c45d7be6323b..ad17ba8624e71cd5173d9080bbacdf23c03d736d 100644 (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.
index 7100ada4a6a449de4cb63573ce58f7f669e4fd35..f65375438faac40a8e535e8b7aaf17551690fcd0 100644 (file)
--- 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;
 }