mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
updated for version 7.1b
This commit is contained in:
@@ -74,7 +74,7 @@ mac_string_convert(ptr, len, lenp, fail_on_error, from_enc, to_enc, unconvlenp)
|
||||
fprintf(stderr, "Encoding failed\n");
|
||||
/* When conversion failed, try excluding bytes from the end, helps when
|
||||
* there is an incomplete byte sequence. Only do up to 6 bytes to avoid
|
||||
* looping a long time when there really is something unconvertable. */
|
||||
* looping a long time when there really is something unconvertible. */
|
||||
while (cfstr == NULL && unconvlenp != NULL && len > 1 && *unconvlenp < 6)
|
||||
{
|
||||
--len;
|
||||
|
Reference in New Issue
Block a user