Mercurial > hg > xemacs-beta
diff src/window.c @ 956:e6409999af4b
[xemacs-hg @ 2002-08-08 15:29:53 by james]
Count only half of the divider width against the left window when splitting
horizontally.
author | james |
---|---|
date | Thu, 08 Aug 2002 15:30:04 +0000 |
parents | c925bacdda60 |
children | a123f88fa975 |
line wrap: on
line diff
--- a/src/window.c Wed Aug 07 22:24:36 2002 +0000 +++ b/src/window.c Thu Aug 08 15:30:04 2002 +0000 @@ -3838,7 +3838,7 @@ /* In the new scheme, we are symmetric with respect to separators so there is no need to do weird things here. */ { - psize = WINDOW_WIDTH (o) >> 1; + psize = (WINDOW_WIDTH (o) + window_divider_width (o)) >> 1; csize = window_pixel_width_to_char_width (o, psize, 0); } else