From: Chong Yidong Date: Sat, 5 Mar 2011 23:55:43 +0000 (-0500) Subject: Fix last change. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~674^2~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6786c7319d7071a62d3cfec183ddb5403d2aa76;p=emacs.git Fix last change. --- diff --git a/src/nsterm.m b/src/nsterm.m index 9237205a0f4..cc2c4cf9807 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -2282,7 +2282,7 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row, to the glyph width; replace with CURSOR_WIDTH for bar cursors. */ if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR) { - if (cursor_width < 0) + if (cursor_width < 1) cursor_width = max (FRAME_CURSOR_WIDTH (f), 1); w->phys_cursor_width = cursor_width; }