aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-08-15 10:28:53 +0200
committerGitHub <noreply@github.com>2018-08-15 10:28:53 +0200
commitac2d661450f2e54652b6f557b5c1d374e88d006c (patch)
treec7d242bb1fb45c70acb2f7d93746e68eb9918647 /src/nvim/mbyte.c
parentbdcd3c31c6b264e5925eee28d6386fb72d14921b (diff)
parent999d33faf4feb4898509f2aea4836aa411a5c75c (diff)
downloadrneovim-ac2d661450f2e54652b6f557b5c1d374e88d006c.tar.gz
rneovim-ac2d661450f2e54652b6f557b5c1d374e88d006c.tar.bz2
rneovim-ac2d661450f2e54652b6f557b5c1d374e88d006c.zip
Merge #8829 from ZviRackover/fix-7401-step2
Diffstat (limited to 'src/nvim/mbyte.c')
-rw-r--r--src/nvim/mbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c
index 15fe51cad1..94bf7fb985 100644
--- a/src/nvim/mbyte.c
+++ b/src/nvim/mbyte.c
@@ -1829,8 +1829,8 @@ const char *mb_unescape(const char **const pp)
*/
bool mb_lefthalve(int row, int col)
{
- return (*mb_off2cells)(LineOffset[row] + col,
- LineOffset[row] + screen_Columns) > 1;
+ return utf_off2cells(LineOffset[row] + col,
+ LineOffset[row] + screen_Columns) > 1;
}
/*