diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 17:43:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-14 17:43:21 +0100 |
commit | 2f37ffb71920d0b50f658108736a1465e1e5f280 (patch) | |
tree | 1971f1f0f146e16cc8d0f52c97e6b9a0c21f27c6 /src/nvim/plines.c | |
parent | ede00b29d175625479060c5c52e256ec6fc445c1 (diff) | |
parent | 1450a6f7534147e3d7252594cf06e2a1cc14b79b (diff) | |
download | rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.tar.gz rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.tar.bz2 rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.zip |
Merge pull request #16316 from bfredl/macroman
refactor(macros): delete multibyte macros which just are aliases
Diffstat (limited to 'src/nvim/plines.c')
-rw-r--r-- | src/nvim/plines.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/plines.c b/src/nvim/plines.c index ed28521d80..a061f76f34 100644 --- a/src/nvim/plines.c +++ b/src/nvim/plines.c @@ -424,7 +424,7 @@ int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *he col %= numberextra; } if (*sbr != NUL) { - sbrlen = (colnr_T)MB_CHARLEN(sbr); + sbrlen = (colnr_T)mb_charlen(sbr); if (col >= sbrlen) { col -= sbrlen; } |