changeset 22773:bd776f15bb43

(dumpglyphs): After calling ccl_driver, set cp->byte1 to zero for 1-byte font.
author Kenichi Handa <handa@m17n.org>
date Sun, 19 Jul 1998 05:17:35 +0000
parents 3dc5c3a4f1f8
children a0909e59257d
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sun Jul 19 00:04:01 1998 +0000
+++ b/src/xterm.c	Sun Jul 19 05:17:35 1998 +0000
@@ -747,7 +747,7 @@
 		      /* We assume that MSBs are appropriately
                          set/reset by CCL program.  */
 		      if (font->max_byte1 == 0)	/* 1-byte font */
-			cp->byte2 = ccl->reg[1];
+			cp->byte1 = 0, cp->byte2 = ccl->reg[1];
 		      else
 			cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2];
 		    }
@@ -760,7 +760,7 @@
 		      /* We assume that MSBs are appropriately
                          set/reset by CCL program.  */
 		      if (font->max_byte1 == 0)	/* 1-byte font */
-			cp->byte2 = ccl->reg[1];
+			cp->byte1 = 0, cp->byte2 = ccl->reg[1];
 		      else
 			cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2];
 		    }