Mercurial > vim
diff src/ex_docmd.c @ 4236:23ce9a61bdc2 v7.3.869
updated for version 7.3.869
Problem: bufwinnr() matches buffers in other tabs.
Solution: For bufwinnr() and ? only match buffers in the current tab.
(Alexey Radkov)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 19 Mar 2013 14:25:54 +0100 |
parents | 4905e038b105 |
children | 04736b4030ec |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2645,7 +2645,8 @@ do_one_cmd(cmdlinep, sourcing, while (p > ea.arg && vim_iswhite(p[-1])) --p; } - ea.line2 = buflist_findpat(ea.arg, p, (ea.argt & BUFUNL) != 0, FALSE); + ea.line2 = buflist_findpat(ea.arg, p, (ea.argt & BUFUNL) != 0, + FALSE, FALSE); if (ea.line2 < 0) /* failed */ goto doend; ea.addr_count = 1;