forked from aniani/vim
updated for version 7.0109
This commit is contained in:
@@ -701,6 +701,7 @@ codepage_invalid:
|
||||
* where mblen() returns 0 for invalid character.
|
||||
* Therefore, following condition includes 0.
|
||||
*/
|
||||
(void)mblen(NULL, 0); /* First reset the state. */
|
||||
if (mblen(buf, (size_t)1) <= 0)
|
||||
n = 2;
|
||||
else
|
||||
|
Reference in New Issue
Block a user