From 47391b18e2084f2747b10aa6158bc40e03f01528 Mon Sep 17 00:00:00 2001 From: Felipe Morales Date: Thu, 26 Jun 2014 00:21:57 -0400 Subject: Port vim's patch 7.4.338 ('breakindent') --- src/nvim/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/cursor.c') diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c index 64a3b73f15..cd84d7014c 100644 --- a/src/nvim/cursor.c +++ b/src/nvim/cursor.c @@ -138,7 +138,7 @@ static int coladvance2( ptr = line; while (col <= wcol && *ptr != NUL) { /* Count a tab for what it's worth (if list mode not on) */ - csize = win_lbr_chartabsize(curwin, ptr, col, &head); + csize = win_lbr_chartabsize(curwin, line, ptr, col, &head); mb_ptr_adv(ptr); col += csize; } -- cgit