From 9aa95749885dfcd9dc520beac890e15e282d8da2 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 30 Aug 1999 23:14:26 +0000 Subject: [PATCH] (set_frame_size): Set flags_area_extra to FRAME_FLAGS_AREA_WIDTH instead of 2 * that width. (EmacsFrameSetCharSize): Ditto. --- src/widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget.c b/src/widget.c index 2ab11fa1a5f..e65ee014bd3 100644 --- a/src/widget.c +++ b/src/widget.c @@ -446,7 +446,7 @@ set_frame_size (ew) * FONT_WIDTH (frame->output_data.x->font))); frame->output_data.x->flags_areas_extra - = 2 * FRAME_FLAGS_AREA_WIDTH (frame); + = FRAME_FLAGS_AREA_WIDTH (frame); change_frame_size (frame, h, w, 1, 0, 0); char_to_pixel_size (ew, w, h, &pixel_width, &pixel_height); @@ -922,7 +922,7 @@ EmacsFrameSetCharSize (widget, columns, rows) : (FRAME_SCROLL_BAR_COLS (f) * FONT_WIDTH (f->output_data.x->font))); f->output_data.x->flags_areas_extra - = 2 * FRAME_FLAGS_AREA_WIDTH (f); + = FRAME_FLAGS_AREA_WIDTH (f); char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height); -- 2.39.5