Mirror of the Vim source from https://github.com/vim/vim
Revision | c50ed526966abc52d825a36d5114bebc21f850b2 (tree) |
---|---|
Zeit | 2007-03-26 00:49:08 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.0-220
@@ -15769,7 +15769,15 @@ | ||
15769 | 15769 | if (nr > 0) |
15770 | 15770 | for (wp = (tp == curtab) ? firstwin : tp->tp_firstwin; |
15771 | 15771 | wp != twin; wp = wp->w_next) |
15772 | + { | |
15773 | + if (wp == NULL) | |
15774 | + { | |
15775 | + /* didn't find it in this tabpage */ | |
15776 | + nr = 0; | |
15777 | + break; | |
15778 | + } | |
15772 | 15779 | ++nr; |
15780 | + } | |
15773 | 15781 | return nr; |
15774 | 15782 | } |
15775 | 15783 | #endif |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 220, | |
671 | +/**/ | |
670 | 672 | 219, |
671 | 673 | /**/ |
672 | 674 | 218, |