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:
parent
c25b53a280
commit
8a33cf7b21
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue