(decode_eol): Pay attention to coding->dst_multibyte.
This commit is contained in:
parent
7d1d1c16cd
commit
69b8522de8
1 changed files with 4 additions and 1 deletions
|
@ -5717,7 +5717,10 @@ decode_eol (coding)
|
|||
pos_end--;
|
||||
}
|
||||
pos++;
|
||||
pos_byte += BYTES_BY_CHAR_HEAD (*p);
|
||||
if (coding->dst_multibyte)
|
||||
pos_byte += BYTES_BY_CHAR_HEAD (*p);
|
||||
else
|
||||
pos_byte++;
|
||||
}
|
||||
}
|
||||
coding->produced -= n;
|
||||
|
|
Loading…
Add table
Reference in a new issue