Remove ml_ prefix from cursor.h functions

s/ml_get_curline/get_cursor_line_ptr
s/ml_get_cursor/get_cursor_pos_ptr
This commit is contained in:
Pavel Platto
2014-05-16 11:59:00 +03:00
committed by Justin M. Keyes
parent 2a154ef71d
commit baaa428785
21 changed files with 197 additions and 194 deletions

View File

@@ -6120,7 +6120,7 @@ static void ex_open(exarg_T *eap)
regmatch.regprog = vim_regcomp(eap->arg, p_magic ? RE_MAGIC : 0);
if (regmatch.regprog != NULL) {
regmatch.rm_ic = p_ic;
p = ml_get_curline();
p = get_cursor_line_ptr();
if (vim_regexec(&regmatch, p, (colnr_T)0))
curwin->w_cursor.col = (colnr_T)(regmatch.startp[0] - p);
else