diff src/w32term.c @ 24863:de94a8394d25

Handle wide characters properly.
author Jason Rumney <jasonr@gnu.org>
date Thu, 17 Jun 1999 08:45:30 +0000
parents 487fdbc8de0f
children ea748fe6dee4
line wrap: on
line diff
--- a/src/w32term.c	Thu Jun 17 07:10:20 1999 +0000
+++ b/src/w32term.c	Thu Jun 17 08:45:30 1999 +0000
@@ -1681,6 +1681,14 @@
       if (! active_frame->enable[y] || left > active_frame->used[y])
 	continue;
 
+      while (*line & GLYPH_MASK_PADDING)
+	{
+	  /* We must display the whole glyph of a wide-column
+	     character.  */
+	  left--;
+	  line--;
+	  cols++;
+	}
       dumpglyphs (f,
 		  CHAR_TO_PIXEL_COL (f, left),
 		  CHAR_TO_PIXEL_ROW (f, y),