From: Eli Zaretskii Date: Fri, 21 Aug 2020 15:15:05 +0000 (+0300) Subject: ; * src/character.c (str_as_multibyte): Fix the commentary. X-Git-Tag: emacs-27.1.90~178 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e2caef38499873ef801029e30357a023e939929;p=emacs.git ; * src/character.c (str_as_multibyte): Fix the commentary. --- diff --git a/src/character.c b/src/character.c index 5d419a2e836..97065e17f01 100644 --- a/src/character.c +++ b/src/character.c @@ -550,9 +550,9 @@ parse_str_as_multibyte (const unsigned char *str, ptrdiff_t len, /* Arrange unibyte text at STR of NBYTES bytes as a multibyte text. It actually converts only such 8-bit characters that don't construct - a multibyte sequence to multibyte forms of Latin-1 characters. If - NCHARS is nonzero, set *NCHARS to the number of characters in the - text. It is assured that we can use LEN bytes at STR as a work + a multibyte sequence to multibyte forms of raw bytes. If NCHARS + is nonzero, set *NCHARS to the number of characters in the text. + It is assured that we can use LEN bytes at STR as a work area and that is enough. Return the number of bytes of the resulting text. */