mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 19:06:31 +00:00
Remove occurences of mb_head_off
This commit is contained in:
@@ -4042,7 +4042,7 @@ int dec(pos_T *lp)
|
||||
lp->col--;
|
||||
if (has_mbyte) {
|
||||
p = ml_get(lp->lnum);
|
||||
lp->col -= (*mb_head_off)(p, p + lp->col);
|
||||
lp->col -= utf_head_off(p, p + lp->col);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
@@ -4051,7 +4051,7 @@ int dec(pos_T *lp)
|
||||
p = ml_get(lp->lnum);
|
||||
lp->col = (colnr_T)STRLEN(p);
|
||||
if (has_mbyte) {
|
||||
lp->col -= (*mb_head_off)(p, p + lp->col);
|
||||
lp->col -= utf_head_off(p, p + lp->col);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user