Commit 8a33cf7b authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(decode_coding_emacs_mule): Always set src_base at the

start of the while loop.
parent c25b53a2
......@@ -584,12 +584,11 @@ decode_coding_emacs_mule (coding, source, destination, src_bytes, dst_bytes)
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment