diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c index bd2887e6697..0b70480b965 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -584,12 +584,11 @@ decode_coding_emacs_mule (coding, source, destination, src_bytes, dst_bytes) | |||
| 584 | unsigned char *src_base; | 584 | unsigned char *src_base; |
| 585 | 585 | ||
| 586 | coding->produced_char = 0; | 586 | coding->produced_char = 0; |
| 587 | while (src < src_end) | 587 | while ((src_base = src) < src_end) |
| 588 | { | 588 | { |
| 589 | unsigned char tmp[MAX_MULTIBYTE_LENGTH], *p; | 589 | unsigned char tmp[MAX_MULTIBYTE_LENGTH], *p; |
| 590 | int bytes; | 590 | int bytes; |
| 591 | 591 | ||
| 592 | src_base = src; | ||
| 593 | if (UNIBYTE_STR_AS_MULTIBYTE_P (src, src_end - src, bytes)) | 592 | if (UNIBYTE_STR_AS_MULTIBYTE_P (src, src_end - src, bytes)) |
| 594 | { | 593 | { |
| 595 | p = src; | 594 | p = src; |