aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2006-05-29 22:03:01 +0000
committerEli Zaretskii2006-05-29 22:03:01 +0000
commitb756209da5c6b47570f8fadf45aaf2d8b8a11208 (patch)
tree86431596531e6d28699371b7b79218c04fabcc0c /src
parent5e6b6dcd59c4158cc286788f820afc727380a7cf (diff)
downloademacs-b756209da5c6b47570f8fadf45aaf2d8b8a11208.tar.gz
emacs-b756209da5c6b47570f8fadf45aaf2d8b8a11208.zip
(x_draw_hollow_cursor): Fix last change.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c6
1 files 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)
4950 struct frame *f = XFRAME (WINDOW_FRAME (w)); 4950 struct frame *f = XFRAME (WINDOW_FRAME (w));
4951 HDC hdc; 4951 HDC hdc;
4952 RECT rect; 4952 RECT rect;
4953 int h; 4953 int left, top, h;
4954 struct glyph *cursor_glyph; 4954 struct glyph *cursor_glyph;
4955 HBRUSH hb = CreateSolidBrush (f->output_data.w32->cursor_pixel); 4955 HBRUSH hb = CreateSolidBrush (f->output_data.w32->cursor_pixel);
4956 4956
@@ -4961,7 +4961,9 @@ x_draw_hollow_cursor (w, row)
4961 return; 4961 return;
4962 4962
4963 /* Compute frame-relative coordinates for phys cursor. */ 4963 /* Compute frame-relative coordinates for phys cursor. */
4964 get_phys_cursor_geometry (w, row, cursor_glyph, &rect.left, &rect.top, &h); 4964 get_phys_cursor_geometry (w, row, cursor_glyph, &left, &top, &h);
4965 rect.left = left;
4966 rect.top = top;
4965 rect.bottom = rect.top + h; 4967 rect.bottom = rect.top + h;
4966 rect.right = rect.left + w->phys_cursor_width; 4968 rect.right = rect.left + w->phys_cursor_width;
4967 4969