aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index 15fe51cad1..b5ac400027 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -1829,7 +1829,7 @@ const char *mb_unescape(const char **const pp)
*/
bool mb_lefthalve(int row, int col)
{
- return (*mb_off2cells)(LineOffset[row] + col,
+ return utf_off2cells(LineOffset[row] + col,
LineOffset[row] + screen_Columns) > 1;
}