Commit e6786c73 authored by Chong Yidong's avatar Chong Yidong
Browse files

Fix last change.

parent 04cb6840
......@@ -2282,7 +2282,7 @@ Note that CURSOR_WIDTH is meaningful only for (h)bar cursors.
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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment