(ns_draw_window_cursor): When hbar cursor is on over-sized glyph, draw

it with the default glyph width.
This commit is contained in:
Chong Yidong 2008-10-27 22:30:38 +00:00
parent d1a072bf85
commit a58c682691

View file

@ -2341,6 +2341,7 @@ External call (RIF): draw cursor
case HBAR_CURSOR:
s = r;
s.origin.y += lrint (0.75 * s.size.height);
s.size.width = min (FRAME_COLUMN_WIDTH (f), s.size.width);
s.size.height = lrint (s.size.height * 0.25);
NSRectFill (s);
break;