aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2011-03-05 18:55:43 -0500
committerChong Yidong2011-03-05 18:55:43 -0500
commite6786c7319d7071a62d3cfec183ddb5403d2aa76 (patch)
tree35783dd6fb9943336e3832ac426db00249d7c515 /src
parent04cb68403d7a94e08a08821942cbc6da6494467a (diff)
downloademacs-e6786c7319d7071a62d3cfec183ddb5403d2aa76.tar.gz
emacs-e6786c7319d7071a62d3cfec183ddb5403d2aa76.zip
Fix last change.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m2
1 files changed, 1 insertions, 1 deletions
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,
2282 to the glyph width; replace with CURSOR_WIDTH for bar cursors. */ 2282 to the glyph width; replace with CURSOR_WIDTH for bar cursors. */
2283 if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR) 2283 if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR)
2284 { 2284 {
2285 if (cursor_width < 0) 2285 if (cursor_width < 1)
2286 cursor_width = max (FRAME_CURSOR_WIDTH (f), 1); 2286 cursor_width = max (FRAME_CURSOR_WIDTH (f), 1);
2287 w->phys_cursor_width = cursor_width; 2287 w->phys_cursor_width = cursor_width;
2288 } 2288 }