mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 09:00:31 -08:00
Fix last change.
This commit is contained in:
parent
04cb68403d
commit
e6786c7319
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue