1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 00:31:01 -08:00

(display_string): Fix for the case of zero width glyph.

This commit is contained in:
Kenichi Handa 2002-09-27 04:49:47 +00:00
parent 6ca54a3a6f
commit 587cb9a7fc

View file

@ -14611,7 +14611,7 @@ display_string (string, lisp_string, face_string, face_string_pos,
}
break;
}
else if (x + glyph->pixel_width > it->first_visible_x)
else if (x + glyph->pixel_width >= it->first_visible_x)
{
/* Glyph is at least partially visible. */
++it->hpos;