From baaa4287851ecf478b40054efd7b786501eb70ef Mon Sep 17 00:00:00 2001 From: Pavel Platto Date: Fri, 16 May 2014 11:59:00 +0300 Subject: Remove ml_ prefix from cursor.h functions s/ml_get_curline/get_cursor_line_ptr s/ml_get_cursor/get_cursor_pos_ptr --- src/nvim/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/screen.c') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 02b77ab1d9..e14f7d20d3 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -6780,7 +6780,7 @@ void setcursor(void) * character, position it on the leftmost column. */ curwin->w_p_rl ? ((int)W_WIDTH(curwin) - curwin->w_wcol - ( (has_mbyte - && (*mb_ptr2cells)(ml_get_cursor()) == 2 + && (*mb_ptr2cells)(get_cursor_pos_ptr()) == 2 && vim_isprintc(gchar_cursor())) ? 2 : 1)) : curwin->w_wcol)); -- cgit