Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
edb61b39
Commit
edb61b39
authored
Jul 08, 2009
by
Kenichi Handa
Browse files
(JIS_TO_SJIS2): Fix the code range check.
parent
f07190ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/ChangeLog
src/ChangeLog
+7
-0
src/coding.h
src/coding.h
+1
-1
No files found.
src/ChangeLog
View file @
edb61b39
2009-07-08 Kenichi Handa <handa@m17n.org>
* coding.h (JIS_TO_SJIS2): Fix the code range check.
* coding.c (detect_coding_sjis): Handle shift_jis-2004 correctly.
(encode_coding_sjis): Fix the code range check.
2009-07-07 Chong Yidong <cyd@stupidchicken.com>
* fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
...
...
src/coding.h
View file @
edb61b39
...
...
@@ -630,7 +630,7 @@ struct coding_system
if (j1 & 1) \
{ \
s1 = (j1 <= 0x25 ? 0xF0 + (j1 - 0x21) / 2 \
: j1 <= 0x2
7
? 0xF3 + (j1 - 0x2D) / 2 \
: j1 <= 0x2
F
? 0xF3 + (j1 - 0x2D) / 2 \
: 0xF5 + (j1 - 0x6F) / 2); \
s2 = j2 + ((j2 >= 0x60) ? 0x20 : 0x1F); \
} \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment