[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.c [emacs-unicode]
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.c [emacs-unicode] |
Date: |
Tue, 08 Jul 2003 22:16:20 -0400 |
Index: emacs/src/coding.c
diff -c emacs/src/coding.c:1.239.2.56 emacs/src/coding.c:1.239.2.57
*** emacs/src/coding.c:1.239.2.56 Thu Jun 5 22:13:16 2003
--- emacs/src/coding.c Tue Jul 8 22:16:17 2003
***************
*** 3987,3998 ****
SJIS_TO_JIS (c);
charset = charset_kanji;
}
! else
{
/* SJIS -> JISX0201-Kana */
c &= 0x7F;
charset = charset_kana;
}
}
if (charset->id != charset_ascii
&& last_id != charset->id)
--- 3987,4000 ----
SJIS_TO_JIS (c);
charset = charset_kanji;
}
! else if (c > 0xA0)
{
/* SJIS -> JISX0201-Kana */
c &= 0x7F;
charset = charset_kana;
}
+ else
+ goto invalid_code;
}
if (charset->id != charset_ascii
&& last_id != charset->id)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/coding.c [emacs-unicode],
Kenichi Handa <=