vim-patch:7.4.308 #832

Problem:    When using ":diffsplit" on an empty file the cursor is displayed
            on the command line.
Solution:   Limit the value of w_topfill.

https://code.google.com/p/vim/source/detail?r=e3d2b8d83bb30c428a051f50791e454fcbc080af
This commit is contained in:
Will Stamper 2014-06-12 22:57:48 -05:00 committed by Justin M. Keyes
parent 1cdd4ff7f6
commit fa1d9301f7
2 changed files with 2 additions and 1 deletions

View File

@ -598,6 +598,7 @@ static void diff_redraw(int dofold)
} else if ((n > 0) && (n > wp->w_topfill)) {
wp->w_topfill = n;
}
check_topfill(wp, FALSE);
}
}
}

View File

@ -210,7 +210,7 @@ static int included_patches[] = {
//311,
//310,
//309,
//308,
308,
//307,
306,
//305,