From 9dfb82d5ccfd228768e9cf35bb6767964b25b352 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sun, 19 Jul 1998 05:17:35 +0000 Subject: [PATCH] (dumpglyphs): After calling ccl_driver, set cp->byte1 to zero for 1-byte font. --- src/xterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; } -- 2.39.2