Mercurial > emacs
comparison src/coding.c @ 100587:d91e3320dd81
(decode_coding): Clear chars_at_source flag when using charbuf.
| author | Jason Rumney <jasonr@gnu.org> |
|---|---|
| date | Sat, 20 Dec 2008 07:59:33 +0000 |
| parents | 3e044fa54e4f |
| children | 5c5e6d041634 |
comparison
equal
deleted
inserted
replaced
| 100586:8f585a03d4d4 | 100587:d91e3320dd81 |
|---|---|
| 6652 { | 6652 { |
| 6653 /* Flush out unprocessed data as binary chars. We are sure | 6653 /* Flush out unprocessed data as binary chars. We are sure |
| 6654 that the number of data is less than the size of | 6654 that the number of data is less than the size of |
| 6655 coding->charbuf. */ | 6655 coding->charbuf. */ |
| 6656 coding->charbuf_used = 0; | 6656 coding->charbuf_used = 0; |
| 6657 coding->chars_at_source = 0; | |
| 6658 | |
| 6657 while (nbytes-- > 0) | 6659 while (nbytes-- > 0) |
| 6658 { | 6660 { |
| 6659 int c = *src++; | 6661 int c = *src++; |
| 6660 | 6662 |
| 6661 if (c & 0x80) | 6663 if (c & 0x80) |
