From ef3ff03613106225ad047d1dd04219d460e897d9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 15 May 2011 22:18:38 -0700 Subject: [PATCH] * character.c: Minor spelling and indenting fixes. --- src/character.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/character.c b/src/character.c index a03c081a716..b9595f97ec7 100644 --- a/src/character.c +++ b/src/character.c @@ -476,7 +476,7 @@ lisp_string_width (Lisp_Object string, EMACS_INT precision, i += chars; i_byte += bytes; width += thiswidth; - } + } if (precision > 0) { @@ -683,7 +683,7 @@ parse_str_to_multibyte (const unsigned char *str, EMACS_INT len) } -/* Convert unibyte text at STR of NBYTES bytes to a multibyte text +/* Convert unibyte text at STR of BYTES bytes to a multibyte text that contains the same single-byte characters. It actually converts all 8-bit characters to multibyte forms. It is assured that we can use LEN bytes at STR as a work area and that is @@ -844,6 +844,7 @@ string_escape_byte8 (Lisp_Object string) { if ((MOST_POSITIVE_FIXNUM - nchars) / 3 < byte8_count) string_overflow (); + /* Convert 1-byte sequence of byte8 chars to 4-byte octal. */ val = make_uninit_string (nbytes + byte8_count * 3); } -- 2.39.2