changeset 89123:f2e5b8cb2f26

(display_string): Fix for the case of zero width glyph.
author Kenichi Handa <handa@m17n.org>
date Fri, 27 Sep 2002 04:49:47 +0000
parents 92312a6e80d1
children aabfe2dc76da
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;