summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@raeburn.org>2001-02-28 17:41:06 +0000
committerKen Raeburn <raeburn@raeburn.org>2001-02-28 17:41:06 +0000
commit224227d1db3d56b4d8d1971d6b706529b6cdac7e (patch)
treed1460e43c16723b621eb9648743dd92015bcb9ab /src/window.c
parent11ef99b90c6edb328470509dbd295f4be261579f (diff)
downloademacs-224227d1db3d56b4d8d1971d6b706529b6cdac7e.tar.gz
* window.c (set_window_buffer): Field vscroll is an int, not a lisp object.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index a7e981fea2c..71e490724b6 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),