From 069674c2d55a2dc7e8d5befd0fedd06c40756b70 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 8 Nov 2005 02:07:13 +0000 Subject: [PATCH] comment fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3101 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/chars.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5