diff src/frame.c @ 16263:a369af16e836

(make_frame): Switch from boolean `has_vertical_scrollbars' integer to an enumerated type. Use new macro SET_FRAME_WIDTH.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Sep 1996 03:24:01 +0000
parents ca018789eb73
children f4833d0bfaaa
line wrap: on
line diff
--- a/src/frame.c	Sat Sep 21 02:26:13 1996 +0000
+++ b/src/frame.c	Sat Sep 21 03:24:01 1996 +0000
@@ -281,7 +281,7 @@
   f->focus_frame = Qnil;
   f->explicit_name = 0;
   f->can_have_scroll_bars = 0;
-  f->has_vertical_scroll_bars = 0;
+  f->vertical_scroll_bar_type = vertical_scroll_bar_none;
   f->param_alist = Qnil;
   f->scroll_bars = Qnil;
   f->condemned_scroll_bars = Qnil;
@@ -319,7 +319,7 @@
      just so that there is "something there."
      Correct size will be set up later with change_frame_size.  */
 
-  f->width = 10;
+  SET_FRAME_WIDTH (f, 10);
   f->height = 10;
 
   XSETFASTINT (XWINDOW (root_window)->width, 10);