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)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index d258e69..30fe937 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2645,7 +2645,8 @@
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;