changeset 103763:578826d532dc

(JIS_TO_SJIS2): Fix the code range check.
author Kenichi Handa <handa@m17n.org>
date Wed, 08 Jul 2009 02:22:30 +0000
parents e72df94a89ca
children f3149b4b33bb
files src/coding.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.h	Wed Jul 08 02:22:05 2009 +0000
+++ b/src/coding.h	Wed Jul 08 02:22:30 2009 +0000
@@ -630,7 +630,7 @@
     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);		\
       }							\