summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index befa5bb26..04e273a84 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -432,7 +432,7 @@ clip_update_selection()
end = curwin->w_cursor;
#ifdef FEAT_MBYTE
if (has_mbyte)
- end.col += (*mb_ptr2len_check)(ml_get_cursor()) - 1;
+ end.col += (*mb_ptr2len)(ml_get_cursor()) - 1;
#endif
}
else