changeset 5805:8139bdf8db04

buffer.c, pass a character, not a fixnum, as second arg to #'make-string src/ChangeLog addition: 2014-08-03 Aidan Kehoe <kehoea@parhasard.net> [...] * buffer.c (finish_init_buffer): Pass a character as the second argument to #'make-string, not a fixnum.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 03 Aug 2014 20:25:03 +0100
parents 75435be92103
children 2dee57a2c2d6
files src/ChangeLog src/buffer.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Aug 03 20:13:40 2014 +0100
+++ b/src/ChangeLog	Sun Aug 03 20:25:03 2014 +0100
@@ -5,6 +5,9 @@
 	Use #'make-string rather than make_uninit_string() when allocating
 	the command builder's echo_buf, avoiding having octets in the
 	string that do not correspond to valid internal-format text.
+	* buffer.c (finish_init_buffer):
+	Pass a character as the second argument to #'make-string, not a
+	fixnum.
 
 2014-07-14  Aidan Kehoe  <kehoea@parhasard.net>
 
--- a/src/buffer.c	Sun Aug 03 20:13:40 2014 +0100
+++ b/src/buffer.c	Sun Aug 03 20:25:03 2014 +0100
@@ -636,7 +636,8 @@
   init_buffer_markers (b);
   init_buffer_syntax_cache (b);
 
-  b->generated_modeline_string = Fmake_string (make_fixnum (84), make_fixnum (' '));
+  b->generated_modeline_string = Fmake_string (make_fixnum (84),
+                                               make_char (' '));
   b->modeline_extent_table = make_lisp_hash_table (20, HASH_TABLE_KEY_WEAK,
                                                    Qeq);