]> git.eshelyaron.com Git - emacs.git/commitdiff
(dumpglyphs): After calling ccl_driver, set cp->byte1 to
authorKenichi Handa <handa@m17n.org>
Sun, 19 Jul 1998 05:17:35 +0000 (05:17 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 19 Jul 1998 05:17:35 +0000 (05:17 +0000)
zero for 1-byte font.

src/xterm.c

index d329483ff4c8c758eebedd5fdb1063024403e8c0..1668a27089b7b46232a34db8e82afb951c640468 100644 (file)
@@ -747,7 +747,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
                      /* 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 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
                      /* 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];
                    }