]> git.eshelyaron.com Git - emacs.git/commitdiff
(set_window_buffer): Fix last change.
authorGerd Moellmann <gerd@gnu.org>
Fri, 16 Feb 2001 15:50:33 +0000 (15:50 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 16 Feb 2001 15:50:33 +0000 (15:50 +0000)
src/window.c

index aa819fd10aeaeb2600f9f305e0edf3835c69d8a9..a84cd668c81dca55047dc8ba751b09d0e636dd1c 100644 (file)
@@ -2626,7 +2626,7 @@ set_window_buffer (window, buffer, run_hooks_p)
   XSETFASTINT (w->window_end_vpos, 0);
   bzero (&w->last_cursor, sizeof w->last_cursor);
   w->window_end_valid = Qnil;
-  w->hscroll = w->min_height = make_number (0);
+  w->hscroll = w->min_hscroll = 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,