diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 6 |
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 | ||