]> git.eshelyaron.com Git - emacs.git/commitdiff
(JIS_TO_SJIS): Fix typo (j1->s1, j2->s2).
authorKenichi Handa <handa@m17n.org>
Tue, 14 May 2002 08:01:50 +0000 (08:01 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 14 May 2002 08:01:50 +0000 (08:01 +0000)
src/ChangeLog
src/coding.h

index 0a72d657669454bcfe597f82bdc6e4a3dca241da..03bf26c1c936b1e1ceb0a79d8245cd781a23bb42 100644 (file)
@@ -1,6 +1,13 @@
 2002-05-14  Kenichi Handa  <handa@etl.go.jp>
 
+       * coding.c (Fdecode_sjis_char): Fix typo (0x7F->0xFF).  Fix the
+       handling of charset list.
+       (encode_coding_iso_2022): Setup coding->safe_charsets in advance.
+
+       * coding.h (JIS_TO_SJIS): Fix typo (j1->s1, j2->s2).
+
        * charset.c (Fmake_char): Make it more backward compatible.
+       (Fmap_charset_chars): Fix docstring.
 
 2002-05-13  Dave Love  <fx@gnu.org>
 
index cc115b6ef3fd89e16b8d100c13e700691ba19fd6..1b14ff445f392f04896ce56a04ea2e6e1ff32536 100644 (file)
@@ -473,7 +473,7 @@ struct coding_system
     else                                               \
       (s1 = j1 / 2 + ((j1 < 0x5F) ? 0x70 : 0xB0),      \
        s2 = j2 + 0x7E);                                        \
-    (code) = (j1 << 8) | j2;                           \
+    (code) = (s1 << 8) | s2;                           \
   } while (0)