# HG changeset patch # User Chong Yidong # Date 1225146027 0 # Node ID 3079e132966c70c25c4e707421c395fcfc3b89d2 # Parent 91d125546add0d71f15f96a5f8be68cd37b222b1 (x_draw_bar_cursor): When hbar cursor is on over-sized glyph, draw it with the default glyph width. diff -r 91d125546add -r 3079e132966c src/w32term.c --- 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);