1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 20:50:53 -08:00

(decode_coding_emacs_mule): Always set src_base at the

start of the while loop.
This commit is contained in:
Kenichi Handa 2000-06-15 11:02:26 +00:00
parent c25b53a280
commit 8a33cf7b21

View file

@ -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;