# HG changeset patch # User Aidan Kehoe # Date 1407093903 -3600 # Node ID 8139bdf8db044f7bbd89b4c7e7bde26da6fb6b99 # Parent 75435be92103f23d1905b4a3a60295164a9dd2b4 buffer.c, pass a character, not a fixnum, as second arg to #'make-string src/ChangeLog addition: 2014-08-03 Aidan Kehoe [...] * buffer.c (finish_init_buffer): Pass a character as the second argument to #'make-string, not a fixnum. diff -r 75435be92103 -r 8139bdf8db04 src/ChangeLog --- 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 diff -r 75435be92103 -r 8139bdf8db04 src/buffer.c --- 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);