From 4b26579e726a24f39d8d7a861bb21c4ad44a17f1 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 1 Mar 2002 22:37:16 +0000 Subject: [PATCH] (make_window, replace_window): Initialize phys_cursor_width. --- src/window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/window.c b/src/window.c index 3a415fee5f9..d1cccd7204f 100644 --- a/src/window.c +++ b/src/window.c @@ -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); -- 2.39.5