]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 5 Mar 2011 23:55:43 +0000 (18:55 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 5 Mar 2011 23:55:43 +0000 (18:55 -0500)
src/nsterm.m

index 9237205a0f4e03b5044b0712d809e76df7bfc8ac..cc2c4cf98078049507e305eddab679c854070968 100644 (file)
@@ -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;
     }