aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorPavel Platto <hinidu@gmail.com>2014-05-16 11:59:00 +0300
committerJustin M. Keyes <justinkz@gmail.com>2014-05-28 10:42:06 -0400
commitbaaa4287851ecf478b40054efd7b786501eb70ef (patch)
tree37a5b788a29278e8a4e27b6e9c5c9f787da41a60 /src/nvim/window.c
parent2a154ef71de506e64fbbc2d8e613b5a696f8cb60 (diff)
downloadrneovim-baaa4287851ecf478b40054efd7b786501eb70ef.tar.gz
rneovim-baaa4287851ecf478b40054efd7b786501eb70ef.tar.bz2
rneovim-baaa4287851ecf478b40054efd7b786501eb70ef.zip
Remove ml_ prefix from cursor.h functions
s/ml_get_curline/get_cursor_line_ptr s/ml_get_cursor/get_cursor_pos_ptr
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 12840e502e..6f97401a80 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -4773,7 +4773,7 @@ char_u *grab_file_name(long count, linenr_T *file_lnum)
*/
char_u *file_name_at_cursor(int options, long count, linenr_T *file_lnum)
{
- return file_name_in_line(ml_get_curline(),
+ return file_name_in_line(get_cursor_line_ptr(),
curwin->w_cursor.col, options, count, curbuf->b_ffname,
file_lnum);
}