Mercurial > emacs
diff src/w32term.c @ 99169:3079e132966c
(x_draw_bar_cursor): When hbar cursor is on over-sized glyph, draw it
with the default glyph width.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Mon, 27 Oct 2008 22:20:27 +0000 |
| parents | 166909ca8be2 |
| children | 386d8aa805a2 |
line wrap: on
line diff
--- a/src/w32term.c Mon Oct 27 22:20:05 2008 +0000 +++ b/src/w32term.c Mon Oct 27 22:20:27 2008 +0000 @@ -4985,7 +4985,8 @@ w32_fill_area (f, hdc, cursor_color, x, WINDOW_TO_FRAME_PIXEL_Y (w, w->phys_cursor.y + row->height - width), - cursor_glyph->pixel_width, width); + min (FRAME_COLUMN_WIDTH (f), cursor_glyph->pixel_width), + width); } w32_set_clip_rectangle (hdc, NULL);
