From: Kenichi Handa Date: Fri, 27 Sep 2002 04:49:47 +0000 (+0000) Subject: (display_string): Fix for the case of zero width glyph. X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~327 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=587cb9a7fc034b09f69d3697302d2c9e6c03decc;p=emacs.git (display_string): Fix for the case of zero width glyph. --- 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;