Mercurial > emacs
changeset 25461:5aefa4d221ae
(set_frame_size): Set flags_area_extra to
FRAME_FLAGS_AREA_WIDTH instead of 2 * that width.
(EmacsFrameSetCharSize): Ditto.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 30 Aug 1999 23:14:26 +0000 |
parents | 8569b5f63527 |
children | 19b101d6ee2a |
files | src/widget.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/widget.c Mon Aug 30 23:14:25 1999 +0000 +++ b/src/widget.c Mon Aug 30 23:14:26 1999 +0000 @@ -446,7 +446,7 @@ * 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 @@ : (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);