aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1998-07-19 05:17:35 +0000
committerKenichi Handa1998-07-19 05:17:35 +0000
commit9dfb82d5ccfd228768e9cf35bb6767964b25b352 (patch)
tree66f82486b038f1de752271dabfad36827724beec
parenta01588fc82a5b3206c439c921d7f44d5c8b9b16c (diff)
downloademacs-9dfb82d5ccfd228768e9cf35bb6767964b25b352.tar.gz
emacs-9dfb82d5ccfd228768e9cf35bb6767964b25b352.zip
(dumpglyphs): After calling ccl_driver, set cp->byte1 to
zero for 1-byte font.
-rw-r--r--src/xterm.c4
1 files 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)
747 /* We assume that MSBs are appropriately 747 /* We assume that MSBs are appropriately
748 set/reset by CCL program. */ 748 set/reset by CCL program. */
749 if (font->max_byte1 == 0) /* 1-byte font */ 749 if (font->max_byte1 == 0) /* 1-byte font */
750 cp->byte2 = ccl->reg[1]; 750 cp->byte1 = 0, cp->byte2 = ccl->reg[1];
751 else 751 else
752 cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2]; 752 cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2];
753 } 753 }
@@ -760,7 +760,7 @@ dumpglyphs (f, left, top, gp, n, hl, just_foreground, cmpcharp)
760 /* We assume that MSBs are appropriately 760 /* We assume that MSBs are appropriately
761 set/reset by CCL program. */ 761 set/reset by CCL program. */
762 if (font->max_byte1 == 0) /* 1-byte font */ 762 if (font->max_byte1 == 0) /* 1-byte font */
763 cp->byte2 = ccl->reg[1]; 763 cp->byte1 = 0, cp->byte2 = ccl->reg[1];
764 else 764 else
765 cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2]; 765 cp->byte1 = ccl->reg[1], cp->byte2 = ccl->reg[2];
766 } 766 }