]> git.eshelyaron.com Git - emacs.git/commitdiff
(make_window, replace_window): Initialize phys_cursor_width.
authorKim F. Storm <storm@cua.dk>
Fri, 1 Mar 2002 22:37:16 +0000 (22:37 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 1 Mar 2002 22:37:16 +0000 (22:37 +0000)
src/window.c

index 3a415fee5f9fad93825d80d2e780ead586b488d0..d1cccd7204f1d562583541eebb645cce167c4241 100644 (file)
@@ -275,6 +275,7 @@ make_window ()
   bzero (&p->phys_cursor, sizeof (p->phys_cursor));
   p->desired_matrix = p->current_matrix = 0;
   p->phys_cursor_type = -1;
+  p->phys_cursor_width = -1;
   p->must_be_updated_p = 0;
   XSETFASTINT (p->window_end_vpos, 0);
   XSETFASTINT (p->window_end_pos, 0);
@@ -1144,6 +1145,7 @@ replace_window (old, replacement)
   bzero (&p->last_cursor, sizeof (p->last_cursor));
   bzero (&p->phys_cursor, sizeof (p->phys_cursor));
   p->phys_cursor_type = -1;
+  p->phys_cursor_width = -1;
   p->must_be_updated_p = 0;
   p->pseudo_window_p = 0;
   XSETFASTINT (p->window_end_vpos, 0);