summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-08-21 18:15:05 +0300
committerEli Zaretskii <eliz@gnu.org>2020-08-21 18:15:05 +0300
commit4e2caef38499873ef801029e30357a023e939929 (patch)
tree5eb7700e229b8d4d41b30834baa4c9d19a3fe265 /src
parentd3a4ce84201c5ea837cc2ddeba2fa01d67f7e6ab (diff)
downloademacs-4e2caef38499873ef801029e30357a023e939929.tar.gz
; * src/character.c (str_as_multibyte): Fix the commentary.
Diffstat (limited to 'src')
-rw-r--r--src/character.c6
1 files changed, 3 insertions, 3 deletions
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. */