diff options
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r-- | src/os_mswin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c index 6d043269d..998d27b53 100644 --- a/src/os_mswin.c +++ b/src/os_mswin.c @@ -919,7 +919,7 @@ utf8_to_ucs2(char_u *instr, int inlen, short_u *outstr, int *unconvlenp) while (todo > 0) { /* Only convert if we have a complete sequence. */ - l = utf_ptr2len_check_len(p, todo); + l = utf_ptr2len_len(p, todo); if (l > todo) { /* Return length of incomplete sequence. */ |