From 050d82d7c479a7063bd4bfdb1249fe17ec7d7df5 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 30 Aug 1999 23:14:28 +0000 Subject: [PATCH] (window_box_width): Use FRAME_FLAGS_AREA_COLS instead of 2 * that value. (window_box_left): Use FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 834b679e84f..87e0da3bbb5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -735,7 +735,7 @@ window_box_width (w, area) if (!w->pseudo_window_p) { - width -= FRAME_SCROLL_BAR_WIDTH (f) + 2 * FRAME_FLAGS_AREA_COLS (f); + width -= FRAME_SCROLL_BAR_WIDTH (f) + FRAME_FLAGS_AREA_COLS (f); if (area == TEXT_AREA) { @@ -792,7 +792,7 @@ window_box_left (w, area) if (!w->pseudo_window_p) { x += (WINDOW_LEFT_MARGIN (w) * CANON_X_UNIT (f) - + FRAME_FLAGS_AREA_WIDTH (f)); + + FRAME_LEFT_FLAGS_AREA_WIDTH (f)); if (area == TEXT_AREA) x += window_box_width (w, LEFT_MARGIN_AREA); -- 2.39.5