Mercurial > emacs
diff src/coding.c @ 29663:ebf778ab6b42
(decode_coding_emacs_mule): Always set src_base at the
start of the while loop.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Thu, 15 Jun 2000 11:02:26 +0000 |
| parents | b33b38d81020 |
| children | 2bc397e9b09a |
line wrap: on
line diff
--- a/src/coding.c Thu Jun 15 11:00:08 2000 +0000 +++ b/src/coding.c Thu Jun 15 11:02:26 2000 +0000 @@ -584,12 +584,11 @@ unsigned char *src_base; coding->produced_char = 0; - while (src < src_end) + while ((src_base = src) < src_end) { unsigned char tmp[MAX_MULTIBYTE_LENGTH], *p; int bytes; - src_base = src; if (UNIBYTE_STR_AS_MULTIBYTE_P (src, src_end - src, bytes)) { p = src;
