diff src/xdisp.c @ 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 28c841bc7706
children 8ee5fad31b16
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;