mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
updated for version 7.1-155
This commit is contained in:
@@ -1678,6 +1678,14 @@ u_freebranch(buf, uhp, uhpp)
|
||||
{
|
||||
u_header_T *tofree, *next;
|
||||
|
||||
/* If this is the top branch we may need to use u_freeheader() to update
|
||||
* all the pointers. */
|
||||
if (uhp == buf->b_u_oldhead)
|
||||
{
|
||||
u_freeheader(buf, uhp, uhpp);
|
||||
return;
|
||||
}
|
||||
|
||||
if (uhp->uh_alt_prev != NULL)
|
||||
uhp->uh_alt_prev->uh_alt_next = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user