changeset 36444:f2fc8b180aaa

* window.c (set_window_buffer): Field vscroll is an int, not a lisp object.
author Ken Raeburn <raeburn@raeburn.org>
date Wed, 28 Feb 2001 17:41:06 +0000
parents c29a8191f68c
children 904a83f1b00b
files src/ChangeLog src/window.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Feb 28 15:06:38 2001 +0000
+++ b/src/ChangeLog	Wed Feb 28 17:41:06 2001 +0000
@@ -1,3 +1,8 @@
+2001-02-28  Ken Raeburn  <raeburn@gnu.org>
+
+	* window.c (set_window_buffer): Field vscroll is an int, not a
+	lisp object.
+
 2001-02-28  Gerd Moellmann  <gerd@gnu.org>
 
 	* xterm.c (x_set_window_size): Don't use `None' with widgets; use
--- a/src/window.c	Wed Feb 28 15:06:38 2001 +0000
+++ b/src/window.c	Wed Feb 28 17:41:06 2001 +0000
@@ -2631,7 +2631,7 @@
   bzero (&w->last_cursor, sizeof w->last_cursor);
   w->window_end_valid = Qnil;
   w->hscroll = w->min_hscroll = make_number (0);
-  w->vscroll = make_number (0);
+  w->vscroll = 0;
   set_marker_both (w->pointm, buffer, BUF_PT (b), BUF_PT_BYTE (b));
   set_marker_restricted (w->start,
 			 make_number (b->last_window_start),