# HG changeset patch # User Kenichi Handa # Date 1033102187 0 # Node ID f2e5b8cb2f260ce48d76f510826e97f9ce44aaeb # Parent 92312a6e80d1f58cf2623d18f5b7ad0dbcb235a2 (display_string): Fix for the case of zero width glyph. diff -r 92312a6e80d1 -r f2e5b8cb2f26 src/xdisp.c --- a/src/xdisp.c Wed Sep 25 00:00:33 2002 +0000 +++ b/src/xdisp.c Fri Sep 27 04:49:47 2002 +0000 @@ -14611,7 +14611,7 @@ } 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;