From: Paul Eggert Date: Mon, 16 May 2011 05:18:38 +0000 (-0700) Subject: * character.c: Minor spelling and indenting fixes. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~239^2~16 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ef3ff03613106225ad047d1dd04219d460e897d9;p=emacs.git * character.c: Minor spelling and indenting fixes. --- 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); }