comparison src/window.c @ 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 f03dfbb443ce
children 6eb00bee0989
comparison
equal deleted inserted replaced
36130:0ebed3472d8e 36131:ce0ddc7706bc
2624 2624
2625 XSETFASTINT (w->window_end_pos, 0); 2625 XSETFASTINT (w->window_end_pos, 0);
2626 XSETFASTINT (w->window_end_vpos, 0); 2626 XSETFASTINT (w->window_end_vpos, 0);
2627 bzero (&w->last_cursor, sizeof w->last_cursor); 2627 bzero (&w->last_cursor, sizeof w->last_cursor);
2628 w->window_end_valid = Qnil; 2628 w->window_end_valid = Qnil;
2629 XSETFASTINT (w->hscroll, 0); 2629 w->hscroll = w->min_height = make_number (0);
2630 XSETFASTINT (w->min_hscroll, 0); 2630 w->vscroll = make_number (0);
2631 set_marker_both (w->pointm, buffer, BUF_PT (b), BUF_PT_BYTE (b)); 2631 set_marker_both (w->pointm, buffer, BUF_PT (b), BUF_PT_BYTE (b));
2632 set_marker_restricted (w->start, 2632 set_marker_restricted (w->start,
2633 make_number (b->last_window_start), 2633 make_number (b->last_window_start),
2634 buffer); 2634 buffer);
2635 w->start_at_line_beg = Qnil; 2635 w->start_at_line_beg = Qnil;