Merge pull request #4323 from watiko/vim-7.4.961

vim-patch:7.4.961
This commit is contained in:
Justin M. Keyes
2016-03-02 01:48:21 -05:00
3 changed files with 6 additions and 5 deletions

View File

@@ -4624,10 +4624,8 @@ void win_drag_vsep_line(win_T *dragwin, int offset)
#define FRACTION_MULT 16384L
/*
* Set wp->w_fraction for the current w_wrow and w_height.
*/
static void set_fraction(win_T *wp)
// Set wp->w_fraction for the current w_wrow and w_height.
void set_fraction(win_T *wp)
{
wp->w_fraction = ((long)wp->w_wrow * FRACTION_MULT + wp->w_height / 2)
/ (long)wp->w_height;