diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-01-23 15:53:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-01-23 15:53:15 +0100 |
commit | 9d182dd0a666f7cb706cd54dd78df3f59a160fff (patch) | |
tree | 53eb72dd576979b4fdde34e2b0eaff7f972a028f /src/eval.c | |
parent | 4da70dbc4ddef9b2a2815cc0f6f09a283b65e671 (diff) | |
download | vim-9d182dd0a666f7cb706cd54dd78df3f59a160fff.zip |
updated for version 7.3.776
Problem: ml_get error when searching, caused by curwin not matching curbuf.
Solution: Avoid changing curbuf. (Lech Lorens)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 7c5755765..f645e9683 100644 --- a/src/eval.c +++ b/src/eval.c @@ -18884,7 +18884,7 @@ var2fpos(varp, dollar_lnum, fnum) #endif if (name[0] == '\'') /* mark */ { - pp = getmark_fnum(name[1], FALSE, fnum); + pp = getmark_buf_fnum(curbuf, name[1], FALSE, fnum); if (pp == NULL || pp == (pos_T *)-1 || pp->lnum <= 0) return NULL; return pp; |