From: Kenichi Handa Date: Sun, 19 Jul 1998 05:17:35 +0000 (+0000) Subject: (dumpglyphs): After calling ccl_driver, set cp->byte1 to X-Git-Tag: emacs-20.3~306 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9dfb82d5ccfd228768e9cf35bb6767964b25b352;p=emacs.git (dumpglyphs): After calling ccl_driver, set cp->byte1 to zero for 1-byte font. --- diff --git a/src/xterm.c b/src/xterm.c index d329483ff4c..1668a27089b 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -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]; }