From b756209da5c6b47570f8fadf45aaf2d8b8a11208 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 29 May 2006 22:03:01 +0000 Subject: [PATCH] (x_draw_hollow_cursor): Fix last change. --- src/w32term.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/w32term.c b/src/w32term.c index c8fad461668..c55a4cc715c 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -4950,7 +4950,7 @@ x_draw_hollow_cursor (w, row) 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 @@ x_draw_hollow_cursor (w, row) 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; -- 2.39.5