* nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.

This commit is contained in:
Chong Yidong 2011-03-05 18:52:45 -05:00
parent abec51268e
commit 04cb68403d
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2011-03-05 Chong Yidong <cyd@stupidchicken.com>
* nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.
2011-03-02 Ken Brown <kbrown@cornell.edu>
* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.

View file

@ -2283,8 +2283,7 @@ Note that CURSOR_WIDTH is meaningful only for (h)bar cursors.
if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR)
{
if (cursor_width < 0)
cursor_width = FRAME_CURSOR_WIDTH (f);
cursor_width = min (cursor_width, 1);
cursor_width = max (FRAME_CURSOR_WIDTH (f), 1);
w->phys_cursor_width = cursor_width;
}