mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.3.776
Problem: ml_get error when searching, caused by curwin not matching curbuf. Solution: Avoid changing curbuf. (Lech Lorens)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user