diff options
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 219a20d8b5..cba6b5f94d 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -1639,7 +1639,7 @@ win_found: * found, reduce the error column value by the length of * a tab character. */ - line = ml_get_curline(); + line = get_cursor_line_ptr(); screen_col = 0; for (char_col = 0; char_col < curwin->w_cursor.col; ++char_col) { if (*line == NUL) |