aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <[email protected]>2001-02-28 17:41:06 +0000
committerKen Raeburn <[email protected]>2001-02-28 17:41:06 +0000
commit224227d1db3d56b4d8d1971d6b706529b6cdac7e (patch)
treed1460e43c16723b621eb9648743dd92015bcb9ab
parent11ef99b90c6edb328470509dbd295f4be261579f (diff)
* window.c (set_window_buffer): Field vscroll is an int, not a lisp object.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/window.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 64a4baa7da..465b1e2cd8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-28 Ken Raeburn <[email protected]>
+
+ * window.c (set_window_buffer): Field vscroll is an int, not a
+ lisp object.
+
2001-02-28 Gerd Moellmann <[email protected]>
* xterm.c (x_set_window_size): Don't use `None' with widgets; use
diff --git a/src/window.c b/src/window.c
index a7e981fea2..71e490724b 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2631,7 +2631,7 @@ set_window_buffer (window, buffer, run_hooks_p)
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),