From: Kenichi Handa Date: Thu, 15 Jun 2000 11:02:26 +0000 (+0000) Subject: (decode_coding_emacs_mule): Always set src_base at the X-Git-Tag: emacs-pretest-21.0.90~3309 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a33cf7b2129899072050b94c9dd8ee2d95c79ea;p=emacs.git (decode_coding_emacs_mule): Always set src_base at the start of the while loop. --- 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) 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;