mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-17 19:30:38 -08:00
(JIS_TO_SJIS2): Fix the code range check.
This commit is contained in:
parent
f07190ca1f
commit
edb61b39fd
2 changed files with 8 additions and 1 deletions
|
|
@ -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); \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue