Mercurial > emacs
changeset 21938:f4c17bc26d52
(WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when there are no
vertical scrollbars and this is the rightmost window in the frame.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 04 May 1998 20:14:36 +0000 |
parents | ca6bab63bffd |
children | e9014d2166a4 |
files | src/window.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.h Mon May 04 15:38:59 1998 +0000 +++ b/src/window.h Mon May 04 20:14:36 1998 +0000 @@ -212,7 +212,7 @@ #define WINDOW_RIGHT_MARGIN(W) \ (WINDOW_RIGHT_EDGE (W) \ - (! FRAME_HAS_VERTICAL_SCROLL_BARS (XFRAME (WINDOW_FRAME (W))) \ - ? 1 \ + ? ((WINDOW_RIGHTMOST_P (W)) ? 0 : 1) \ : FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT (XFRAME (WINDOW_FRAME (W))) \ ? FRAME_SCROLL_BAR_COLS (XFRAME (WINDOW_FRAME (W))) \ : 0))