summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/output.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-07 14:51:09 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-07 14:51:09 +0000
commitc86e94c1b5dc658db3ab0062cbe95e69bafc32d4 (patch)
treefee0c2b7c78f86d21aeaf8f38d5ecc25198e92a5 /Build/source/texk/dvipsk/output.c
parente5eb7c20a9d736fcd53f8652e3a4550c5ce51739 (diff)
remove SJIS option.
git-svn-id: svn://tug.org/texlive/trunk@18144 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/output.c')
-rw-r--r--Build/source/texk/dvipsk/output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/output.c b/Build/source/texk/dvipsk/output.c
index 3b2a3f24ed4..57a98979c1c 100644
--- a/Build/source/texk/dvipsk/output.c
+++ b/Build/source/texk/dvipsk/output.c
@@ -770,9 +770,9 @@ jscout(int c, char *fs) /* string character out */
sprintf(s, "a<%02x>p", c);
} else if (c<0x800) {
sprintf(s, "a<%02x%02x>p", UCStoUTF8B1(c), UCStoUTF8B2(c));
- } else if (c<0xffff) {
+ } else if (c<0x10000) {
sprintf(s, "a<%02x%02x%02x>p", UCStoUTF8C1(c), UCStoUTF8C2(c), UCStoUTF8C3(c));
- } else if (c<0x10ffff) {
+ } else if (c<0x110000) {
sprintf(s, "a<%02x%02x%02x%02x>p", UCStoUTF8D1(c), UCStoUTF8D2(c), UCStoUTF8D3(c), UCStoUTF8D4(c));
} else {
error("warning: Illegal code value.");
@@ -780,7 +780,7 @@ jscout(int c, char *fs) /* string character out */
} else if (c>0xffff && strstr(fs,"-UTF16-")!=NULL) {
sprintf(s, "a<%04x%04x>p", UTF32toUTF16HS(c), UTF32toUTF16LS(c));
} else {
- if ((strstr(fs,"-RKSJ-")!=NULL) || (SJIS && c > 0x2120)) c = JIStoSJIS(c);
+ if ((strstr(fs,"-RKSJ-")!=NULL)) c = JIStoSJIS(c);
sprintf(s, "a<%04x>p", c);
}
cmdout(s);