# HG changeset patch # User Gerd Moellmann # Date 982336334 0 # Node ID ce0ddc7706bca19ee70e59f8fedab2431e774a66 # Parent 0ebed3472d8e753ac402cde001f1661a54188f04 (set_window_buffer): Set window's vscroll to 0. diff -r 0ebed3472d8e -r ce0ddc7706bc src/window.c --- 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),