Mercurial > emacs
comparison src/coding.c @ 106826:64cd76243389
Fix handling of euc-xx coding systems.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Thu, 14 Jan 2010 20:31:16 +0900 |
| parents | 1d1d5d9bd884 |
| children | d6e8fa5622b7 |
comparison
equal
deleted
inserted
replaced
| 106825:f8aafba5ed54 | 106826:64cd76243389 |
|---|---|
| 3237 && ! (rejected & CATEGORY_MASK_ISO_8_2)) | 3237 && ! (rejected & CATEGORY_MASK_ISO_8_2)) |
| 3238 { | 3238 { |
| 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 |
| 3248 if (i & 1 && src < src_end) | 3252 if (i & 1 && src < src_end) |
| 3249 { | 3253 { |
