mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-11 10:54:28 +03:00
comment fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3101 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
ea9d03f135
commit
069674c2d5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user