# HG changeset patch # User Eli Zaretskii # Date 1148940181 0 # Node ID 67dc3a0454b2b3c5fd4f818c0b91b5d21d635fd4 # Parent 3aec672001405e8253042d055be089ee28934c2e (x_draw_hollow_cursor): Fix last change. diff -r 3aec67200140 -r 67dc3a0454b2 src/w32term.c --- a/src/w32term.c Mon May 29 21:52:16 2006 +0000 +++ b/src/w32term.c Mon May 29 22:03:01 2006 +0000 @@ -4950,7 +4950,7 @@ struct frame *f = XFRAME (WINDOW_FRAME (w)); HDC hdc; RECT rect; - int h; + int left, top, h; struct glyph *cursor_glyph; HBRUSH hb = CreateSolidBrush (f->output_data.w32->cursor_pixel); @@ -4961,7 +4961,9 @@ return; /* Compute frame-relative coordinates for phys cursor. */ - get_phys_cursor_geometry (w, row, cursor_glyph, &rect.left, &rect.top, &h); + get_phys_cursor_geometry (w, row, cursor_glyph, &left, &top, &h); + rect.left = left; + rect.top = top; rect.bottom = rect.top + h; rect.right = rect.left + w->phys_cursor_width;