From: David Lawrence Ramsey Date: Wed, 14 Sep 2005 20:20:58 +0000 (+0000) Subject: comment fixes X-Git-Tag: v1.3.9~27 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=23bdb271552d14d684af63211615c0dcb5617792;p=nano.git comment fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3019 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/chars.c b/src/chars.c index 945a9f53..ea43214b 100644 --- a/src/chars.c +++ b/src/chars.c @@ -215,8 +215,7 @@ wchar_t control_wrep(wchar_t wc) /* c is a multibyte control character. It displays as ^@, ^?, or ^[ch], * where ch is (c + 64). We return that multibyte character. If crep * is an invalid multibyte sequence, it will be replaced with Unicode - * 0xFFFD (Replacement Character), so it should be dynamically allocated - * and able to hold MB_CUR_MAX single-byte characters. */ + * 0xFFFD (Replacement Character). */ char *control_mbrep(const char *c, char *crep, int *crep_len) { assert(c != NULL && crep != NULL && crep_len != NULL); @@ -250,9 +249,7 @@ char *control_mbrep(const char *c, char *crep, int *crep_len) /* c is a multibyte non-control character. We return that multibyte * character. If crep is an invalid multibyte sequence, it will be - * replaced with Unicode 0xFFFD (Replacement Character), so it should be - * dynamically allocated and able to hold MB_CUR_MAX single-byte - * characters. */ + * replaced with Unicode 0xFFFD (Replacement Character). */ char *mbrep(const char *c, char *crep, int *crep_len) { assert(c != NULL && crep != NULL && crep_len != NULL);