diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-08-30 23:14:26 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-08-30 23:14:26 +0000 |
commit | 9aa95749885dfcd9dc520beac890e15e282d8da2 (patch) | |
tree | 3343944c2c04552197489f3c4f39e226a1eb890c /src/widget.c | |
parent | 5cb26370fb1b1e3ad7a13897aadfc26f960d2f1d (diff) | |
download | emacs-9aa95749885dfcd9dc520beac890e15e282d8da2.tar.gz |
(set_frame_size): Set flags_area_extra to
FRAME_FLAGS_AREA_WIDTH instead of 2 * that width.
(EmacsFrameSetCharSize): Ditto.
Diffstat (limited to 'src/widget.c')
-rw-r--r-- | src/widget.c | 4 |
1 files 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); |