aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa2010-01-14 20:31:16 +0900
committerKenichi Handa2010-01-14 20:31:16 +0900
commitd12bd91784f39bc65d9fdccc00676778f035c79d (patch)
tree314df3e3a2f177217915770aff61ccfca14ec586 /src/coding.c
parent3a4f3a3b0a9aaea2d11a4de746f2b30ae1a39ce7 (diff)
downloademacs-d12bd91784f39bc65d9fdccc00676778f035c79d.tar.gz
emacs-d12bd91784f39bc65d9fdccc00676778f035c79d.zip
Fix handling of euc-xx coding systems.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 6b63d1f1a42..b3a51eb0c4c 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3239,9 +3239,13 @@ detect_coding_iso_2022 (coding, detect_info)
3239 int i = 1; 3239 int i = 1;
3240 while (src < src_end) 3240 while (src < src_end)
3241 { 3241 {
3242 src_base = src;
3242 ONE_MORE_BYTE (c); 3243 ONE_MORE_BYTE (c);
3243 if (c < 0xA0) 3244 if (c < 0xA0)
3244 break; 3245 {
3246 src = src_base;
3247 break;
3248 }
3245 i++; 3249 i++;
3246 } 3250 }
3247 3251