summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2009-07-08 02:25:19 +0000
committerKenichi Handa <handa@m17n.org>2009-07-08 02:25:19 +0000
commit2bbd6aa4a478b832602abd569ab3b7bb5e2c30c1 (patch)
treefee7af9eacee2ab62aaf20b788dcfb4bb488211b
parent2142944222059386ad87bcc89044a14f72147124 (diff)
downloademacs-2bbd6aa4a478b832602abd569ab3b7bb5e2c30c1.tar.gz
(JIS_TO_SJIS2): Fix the code range check.
-rw-r--r--src/coding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h
index 153ec952093..450433fda96 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -630,7 +630,7 @@ struct coding_system
if (j1 & 1) \
{ \
s1 = (j1 <= 0x25 ? 0xF0 + (j1 - 0x21) / 2 \
- : j1 <= 0x27 ? 0xF3 + (j1 - 0x2D) / 2 \
+ : j1 <= 0x2F ? 0xF3 + (j1 - 0x2D) / 2 \
: 0xF5 + (j1 - 0x6F) / 2); \
s2 = j2 + ((j2 >= 0x60) ? 0x20 : 0x1F); \
} \