; * src/character.c (str_as_multibyte): Fix the commentary.

This commit is contained in:
Eli Zaretskii 2020-08-21 18:15:05 +03:00
parent d3a4ce8420
commit 4e2caef384

View file

@ -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. */