File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1363,9 +1363,6 @@ set_curbuf(buf, action)
13631363 int action ;
13641364{
13651365 buf_T * prevbuf ;
1366- #ifdef FEAT_WINDOWS
1367- win_T * prevwin ;
1368- #endif
13691366 int unload = (action == DOBUF_UNLOAD || action == DOBUF_DEL
13701367 || action == DOBUF_WIPE );
13711368
@@ -1406,7 +1403,7 @@ set_curbuf(buf, action)
14061403#endif
14071404 {
14081405#ifdef FEAT_WINDOWS
1409- prevwin = curwin ;
1406+ win_T * previouswin = curwin ;
14101407#endif
14111408 if (prevbuf == curbuf )
14121409 u_sync (FALSE);
@@ -1415,9 +1412,9 @@ set_curbuf(buf, action)
14151412 && !P_HID (prevbuf )
14161413 && !bufIsChanged (prevbuf )) ? DOBUF_UNLOAD : 0 , FALSE);
14171414#ifdef FEAT_WINDOWS
1418- if (curwin != prevwin && win_valid (prevwin ))
1415+ if (curwin != previouswin && win_valid (previouswin ))
14191416 /* autocommands changed curwin, Grr! */
1420- curwin = prevwin ;
1417+ curwin = previouswin ;
14211418#endif
14221419 }
14231420 }
Original file line number Diff line number Diff line change @@ -714,6 +714,8 @@ static char *(features[]) =
714714
715715static int included_patches [] =
716716{ /* Add new patch number below this line */
717+ /**/
718+ 587 ,
717719/**/
718720 586 ,
719721/**/
You can’t perform that action at this time.
0 commit comments