aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2002-09-27 04:49:47 +0000
committerKenichi Handa2002-09-27 04:49:47 +0000
commit587cb9a7fc034b09f69d3697302d2c9e6c03decc (patch)
tree7e0f069115ce3d86b569d2b01036cdb2998224bf /src
parent6ca54a3a6fa9a080c1f97e323c7f4216e37bb9e3 (diff)
downloademacs-587cb9a7fc034b09f69d3697302d2c9e6c03decc.tar.gz
emacs-587cb9a7fc034b09f69d3697302d2c9e6c03decc.zip
(display_string): Fix for the case of zero width glyph.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
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,
14611 } 14611 }
14612 break; 14612 break;
14613 } 14613 }
14614 else if (x + glyph->pixel_width > it->first_visible_x) 14614 else if (x + glyph->pixel_width >= it->first_visible_x)
14615 { 14615 {
14616 /* Glyph is at least partially visible. */ 14616 /* Glyph is at least partially visible. */
14617 ++it->hpos; 14617 ++it->hpos;