Mirror of the Vim source from https://github.com/vim/vim
リビジョン | 93ffa40b532038ad22824047b15c6edec3b6af5a (tree) |
---|---|
日時 | 2007-11-11 06:51:15 |
作者 | vimboss |
コミッター | vimboss |
updated for version 7.1-155
@@ -1678,6 +1678,14 @@ | ||
1678 | 1678 | { |
1679 | 1679 | u_header_T *tofree, *next; |
1680 | 1680 | |
1681 | + /* If this is the top branch we may need to use u_freeheader() to update | |
1682 | + * all the pointers. */ | |
1683 | + if (uhp == buf->b_u_oldhead) | |
1684 | + { | |
1685 | + u_freeheader(buf, uhp, uhpp); | |
1686 | + return; | |
1687 | + } | |
1688 | + | |
1681 | 1689 | if (uhp->uh_alt_prev != NULL) |
1682 | 1690 | uhp->uh_alt_prev->uh_alt_next = NULL; |
1683 | 1691 |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 155, | |
671 | +/**/ | |
670 | 672 | 154, |
671 | 673 | /**/ |
672 | 674 | 153, |