Commit 587cb9a7 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

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

parent 6ca54a3a
......@@ -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;
......
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