From: David Lawrence Ramsey Date: Tue, 8 Nov 2005 02:07:13 +0000 (+0000) Subject: comment fix X-Git-Tag: v1.3.10~145 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=069674c2d55a2dc7e8d5befd0fedd06c40756b70;p=nano.git comment fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3101 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/chars.c b/src/chars.c index ea43214b..ee1b42c2 100644 --- a/src/chars.c +++ b/src/chars.c @@ -365,8 +365,8 @@ int parse_mbchar(const char *buf, char *chr, size_t *col) /* Get the number of bytes in the multibyte character. */ buf_mb_len = mblen(buf, MB_CUR_MAX); - /* If buf contains an invalid multibyte character, set bad_chr - * to TRUE and interpret buf's first byte. */ + /* If buf contains an invalid multibyte character, only + * interpret buf's first byte. */ if (buf_mb_len < 0) { mblen(NULL, 0); buf_mb_len = 1;