From: Kim F. Storm Date: Fri, 1 Mar 2002 22:37:16 +0000 (+0000) Subject: (make_window, replace_window): Initialize phys_cursor_width. X-Git-Tag: ttn-vms-21-2-B4~16411 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b26579e726a24f39d8d7a861bb21c4ad44a17f1;p=emacs.git (make_window, replace_window): Initialize phys_cursor_width. --- 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);