Mercurial > emacs
changeset 36131:ce0ddc7706bc
(set_window_buffer): Set window's vscroll to 0.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 16 Feb 2001 15:12:14 +0000 |
parents | 0ebed3472d8e |
children | d818b887dfd3 |
files | src/window.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Fri Feb 16 15:05:24 2001 +0000 +++ b/src/window.c Fri Feb 16 15:12:14 2001 +0000 @@ -2626,8 +2626,8 @@ XSETFASTINT (w->window_end_vpos, 0); bzero (&w->last_cursor, sizeof w->last_cursor); w->window_end_valid = Qnil; - XSETFASTINT (w->hscroll, 0); - XSETFASTINT (w->min_hscroll, 0); + w->hscroll = w->min_height = make_number (0); + w->vscroll = make_number (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),