updated for version 7.3.099
Problem: Crash when splitting a window with zero height. (Yukihiro
Nakadaira)
Solution: Don't set the fraction in a window with zero height.
diff --git a/src/window.c b/src/window.c
index 7ac1da8..b3a7f9e 100644
--- a/src/window.c
+++ b/src/window.c
@@ -986,7 +986,8 @@
/* Set w_fraction now so that the cursor keeps the same relative
* vertical position. */
- set_fraction(oldwin);
+ if (oldwin->w_height > 0)
+ set_fraction(oldwin);
wp->w_fraction = oldwin->w_fraction;
#ifdef FEAT_VERTSPLIT