summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-05 19:47:04 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-05 19:47:04 +0100
commit9dc2ce398bb3456cc8f590ef0260459798b34d2a (patch)
tree436c5c47fb7cbcbf8acafe02af697601c89f45e1 /src/window.c
parent90f5d0a5c3bbfeefcbc4d6eac59cf225ec714b28 (diff)
downloadvim-git-9dc2ce398bb3456cc8f590ef0260459798b34d2a.tar.gz
patch 7.4.961v7.4.961
Problem: Test107 fails in some circunstances. Solution: When using "zt", "zb" and "z=" recompute the fraction.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 010d7ae50..613cc5fb2 100644
--- a/src/window.c
+++ b/src/window.c
@@ -75,7 +75,6 @@ static int frame_check_width __ARGS((frame_T *topfrp, int width));
#endif /* FEAT_WINDOWS */
static win_T *win_alloc __ARGS((win_T *after, int hidden));
-static void set_fraction __ARGS((win_T *wp));
#define URL_SLASH 1 /* path_is_url() has found "://" */
#define URL_BACKSLASH 2 /* path_is_url() has found ":\\" */
@@ -5828,7 +5827,7 @@ win_drag_vsep_line(dragwin, offset)
/*
* Set wp->w_fraction for the current w_wrow and w_height.
*/
- static void
+ void
set_fraction(wp)
win_T *wp;
{