Commit d12bd917 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

Fix handling of euc-xx coding systems.

parent 3a4f3a3b
2010-01-14 Kenichi Handa <handa@m17n.org>
* coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding
systems.
2010-01-14 Kenichi Handa <handa@m17n.org> 2010-01-14 Kenichi Handa <handa@m17n.org>
   
Make auto-composition work on all buffers even if they are Make auto-composition work on all buffers even if they are
......
...@@ -3239,9 +3239,13 @@ detect_coding_iso_2022 (coding, detect_info) ...@@ -3239,9 +3239,13 @@ detect_coding_iso_2022 (coding, detect_info)
int i = 1; int i = 1;
while (src < src_end) while (src < src_end)
{ {
src_base = src;
ONE_MORE_BYTE (c); ONE_MORE_BYTE (c);
if (c < 0xA0) if (c < 0xA0)
break; {
src = src_base;
break;
}
i++; i++;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment