summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-09-20 05:15:25 +0000
committerKarl Heuer <kwzh@gnu.org>1994-09-20 05:15:25 +0000
commit7d502d75d3588e6832ab306da0adb6af2b9fad56 (patch)
tree4908ed8fe5ec15ea94eb2fe4e9766c04d0d76939 /src
parent20239e132f7ff306beccc242b17bfab10791ac91 (diff)
downloademacs-7d502d75d3588e6832ab306da0adb6af2b9fad56.tar.gz
(set_frame_size, EmacsFrameSetCharSize): Change
VERTICAL_SCROLL_BAR_PIXEL_WIDTH to FRAME_SCROLL_BAR_PIXEL_WIDTH.
Diffstat (limited to 'src')
-rw-r--r--src/widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.c b/src/widget.c
index c127462b9e4..168f75550fc 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -424,7 +424,7 @@ set_frame_size (ew)
/* Take into account the size of the scrollbar */
frame->display.x->vertical_scroll_bar_extra
= (FRAME_HAS_VERTICAL_SCROLL_BARS (frame)
- ? VERTICAL_SCROLL_BAR_PIXEL_WIDTH (frame)
+ ? FRAME_SCROLL_BAR_PIXEL_WIDTH (frame)
: 0);
@@ -884,7 +884,7 @@ EmacsFrameSetCharSize (widget, columns, rows)
check_frame_size (f, &rows, &columns);
f->display.x->vertical_scroll_bar_extra
= (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
- ? VERTICAL_SCROLL_BAR_PIXEL_WIDTH (f)
+ ? FRAME_SCROLL_BAR_PIXEL_WIDTH (f)
: 0);
char_to_pixel_size (ew, columns, rows, &pixel_width, &pixel_height);