nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 069674c2d55a2dc7e8d5befd0fedd06c40756b70
parent ea9d03f135440e2d0da129bf2c06f0f6744bcc2d
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue,  8 Nov 2005 02:07:13 +0000

comment fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3101 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/chars.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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;