Mercurial > vim
diff src/mbyte.c @ 21996:808edde1e97d v8.2.1547
patch 8.2.1547: various comment problems
Commit: https://github.com/vim/vim/commit/02c037a4be6aeb7f6376e7dcc3ab41cfc6db3ede
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 30 19:26:45 2020 +0200
patch 8.2.1547: various comment problems
Problem: Various comment problems.
Solution: Update comments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 Aug 2020 19:30:13 +0200 |
parents | 2030f8267db9 |
children | 5f08d4a42898 |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -1607,7 +1607,7 @@ utf_ptr2cells( { int c; - // Need to convert to a wide character. + // Need to convert to a character number. if (*p >= 0x80) { c = utf_ptr2char(p); @@ -1762,7 +1762,7 @@ dbcs_ptr2char(char_u *p) } /* - * Convert a UTF-8 byte sequence to a wide character. + * Convert a UTF-8 byte sequence to a character number. * If the sequence is illegal or truncated by a NUL the first byte is * returned. * For an overlong sequence this may return zero.