We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dd29a1 commit b27bd6dCopy full SHA for b27bd6d
src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
728
729
static int included_patches[] =
730
{ /* Add new patch number below this line */
731
+/**/
732
+ 1292,
733
/**/
734
1291,
735
src/window.c
@@ -4077,7 +4077,8 @@ win_find_tabpage(win)
4077
tabpage_T *tp;
4078
4079
for (tp = first_tabpage; tp != NULL; tp = tp->tp_next)
4080
- for (wp = tp->tp_firstwin; wp != NULL; wp = wp->w_next)
+ for (wp = (tp == curtab ? firstwin : tp->tp_firstwin);
4081
+ wp != NULL; wp = wp->w_next)
4082
if (wp == win)
4083
return tp;
4084
return NULL;
0 commit comments