# HG changeset patch # User Karl Heuer # Date 932719046 0 # Node ID e6c2ab650ebcba3dad867460cfca06f3bffe8327 # Parent c0012b8a093ee15c0a822932c06028d73edebf15 (Fsplit_window): For default size, round up for left window. diff -r c0012b8a093e -r e6c2ab650ebc src/window.c --- a/src/window.c Fri Jul 23 07:27:21 1999 +0000 +++ b/src/window.c Fri Jul 23 08:37:26 1999 +0000 @@ -2613,8 +2613,10 @@ { if (!NILP (horflag)) /* Calculate the size of the left-hand window, by dividing - the usable space in columns by two. */ - size_int = XFASTINT (o->width) >> 1; + the usable space in columns by two. + We round up, since the left-hand window may include + a dividing line, while the right-hand may not. */ + size_int = (XFASTINT (o->width) + 1) >> 1; else size_int = XFASTINT (o->height) >> 1; }