HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3122b07
)
(detect_coding_charset): If not checking latin extra,
author
Jason Rumney
<jasonr@gnu.org>
Sat, 28 Feb 2009 13:37:33 +0000
(13:37 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 28 Feb 2009 13:37:33 +0000
(13:37 +0000)
fail on characters between 0x80 and 0xA0. (Bug#2354)
src/coding.c
patch
|
blob
|
blame
|
history
diff --git
a/src/coding.c
b/src/coding.c
index
020a140
..
176d115
100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-5128,8
+5128,8
@@
detect_coding_charset (coding, detect_info)
if (c >= 0x80)
{
if (c < 0xA0
- && check_latin_extra
-
&& NILP (XVECTOR (Vlatin_extra_code_table)->contents[c]
))
+ &&
(!
check_latin_extra
+
|| NILP (XVECTOR (Vlatin_extra_code_table)->contents[c])
))
break;
found = CATEGORY_MASK_CHARSET;
}