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
7f1faf1c
Commit
7f1faf1c
authored
Jun 17, 2009
by
Kenichi Handa
Browse files
(detect_coding_utf_16): Fix previous change.
parent
f6adc23c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/coding.c
src/coding.c
+2
-1
No files found.
src/ChangeLog
View file @
7f1faf1c
2009-06-17 Andreas Schwab <schwab@linux-m68k.org>
* coding.c (detect_coding_utf_16): Fix previous change.
2009-06-16 Kenichi Handa <handa@m17n.org>
* coding.c (detect_coding_utf_16): Fix the logic of rejecting
...
...
src/coding.c
View file @
7f1faf1c
...
...
@@ -1669,7 +1669,8 @@ detect_coding_utf_16 (coding, detect_info)
|CATEGORY_MASK_UTF_16_BE
| CATEGORY_MASK_UTF_16_LE);
while (detect_info->rejected != CATEGORY_MASK_UTF_16)
while ((detect_info->rejected & CATEGORY_MASK_UTF_16)
!= CATEGORY_MASK_UTF_16)
{
TWO_MORE_BYTES (c1, c2);
if (c2 < 0)
...
...
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