aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-21 03:24:01 +0000
committerRichard M. Stallman1996-09-21 03:24:01 +0000
commit3a43d2dd7032a863d25eff0b3ff1a5db7d8fe344 (patch)
treeae9dcba4831a322a45d64fd41e5d00f6c6396985 /src
parentf6bb2a16757ca3e3eb3f63afd2d92afb8d51b257 (diff)
downloademacs-3a43d2dd7032a863d25eff0b3ff1a5db7d8fe344.tar.gz
emacs-3a43d2dd7032a863d25eff0b3ff1a5db7d8fe344.zip
(make_frame): Switch from boolean `has_vertical_scrollbars' integer to
an enumerated type. Use new macro SET_FRAME_WIDTH.
Diffstat (limited to 'src')
-rw-r--r--src/frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c
index 1c890553873..b4a29eb3045 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -281,7 +281,7 @@ make_frame (mini_p)
281 f->focus_frame = Qnil; 281 f->focus_frame = Qnil;
282 f->explicit_name = 0; 282 f->explicit_name = 0;
283 f->can_have_scroll_bars = 0; 283 f->can_have_scroll_bars = 0;
284 f->has_vertical_scroll_bars = 0; 284 f->vertical_scroll_bar_type = vertical_scroll_bar_none;
285 f->param_alist = Qnil; 285 f->param_alist = Qnil;
286 f->scroll_bars = Qnil; 286 f->scroll_bars = Qnil;
287 f->condemned_scroll_bars = Qnil; 287 f->condemned_scroll_bars = Qnil;
@@ -319,7 +319,7 @@ make_frame (mini_p)
319 just so that there is "something there." 319 just so that there is "something there."
320 Correct size will be set up later with change_frame_size. */ 320 Correct size will be set up later with change_frame_size. */
321 321
322 f->width = 10; 322 SET_FRAME_WIDTH (f, 10);
323 f->height = 10; 323 f->height = 10;
324 324
325 XSETFASTINT (XWINDOW (root_window)->width, 10); 325 XSETFASTINT (XWINDOW (root_window)->width, 10);