aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorKenichi Handa2009-07-08 02:23:19 +0000
committerKenichi Handa2009-07-08 02:23:19 +0000
commitedb61b39fd80ced68dee7460716d2db6857fab28 (patch)
treef1d6832349e90701594ea279db2e41aff3707777 /src/coding.h
parentf07190ca1fafd664e6775f9b307f2b4e1fca87c1 (diff)
downloademacs-edb61b39fd80ced68dee7460716d2db6857fab28.tar.gz
emacs-edb61b39fd80ced68dee7460716d2db6857fab28.zip
(JIS_TO_SJIS2): Fix the code range check.
Diffstat (limited to 'src/coding.h')
-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
630 if (j1 & 1) \ 630 if (j1 & 1) \
631 { \ 631 { \
632 s1 = (j1 <= 0x25 ? 0xF0 + (j1 - 0x21) / 2 \ 632 s1 = (j1 <= 0x25 ? 0xF0 + (j1 - 0x21) / 2 \
633 : j1 <= 0x27 ? 0xF3 + (j1 - 0x2D) / 2 \ 633 : j1 <= 0x2F ? 0xF3 + (j1 - 0x2D) / 2 \
634 : 0xF5 + (j1 - 0x6F) / 2); \ 634 : 0xF5 + (j1 - 0x6F) / 2); \
635 s2 = j2 + ((j2 >= 0x60) ? 0x20 : 0x1F); \ 635 s2 = j2 + ((j2 >= 0x60) ? 0x20 : 0x1F); \
636 } \ 636 } \