changeset 43620:8a5d6239662c

(make_window, replace_window): Initialize phys_cursor_width.
author Kim F. Storm <storm@cua.dk>
date Fri, 01 Mar 2002 22:37:16 +0000
parents 03e9839bc157
children 7755c5d1d8b4
files src/window.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Fri Mar 01 22:36:09 2002 +0000
+++ b/src/window.c	Fri Mar 01 22:37:16 2002 +0000
@@ -275,6 +275,7 @@
   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 @@
   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);