From 587cb9a7fc034b09f69d3697302d2c9e6c03decc Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 27 Sep 2002 04:49:47 +0000 Subject: [PATCH] (display_string): Fix for the case of zero width glyph. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index e5162702eb5..84a407ed074 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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; -- 2.39.5