diff options
author | Kenichi Handa <[email protected]> | 1998-07-19 05:17:35 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 1998-07-19 05:17:35 +0000 |
commit | 9dfb82d5ccfd228768e9cf35bb6767964b25b352 (patch) | |
tree | 66f82486b038f1de752271dabfad36827724beec /src | |
parent | a01588fc82a5b3206c439c921d7f44d5c8b9b16c (diff) |
(dumpglyphs): After calling ccl_driver, set cp->byte1 to
zero for 1-byte font.
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index d329483ff4..1668a27089 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]; } |