Commit d9f9a1bc authored by Gerd Moellmann's avatar Gerd Moellmann

(code_convert_region): Compute beg/end_unchanged per

buffer.
parent 133a3962
......@@ -4432,10 +4432,10 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
ZV_BYTE -= len_byte;
Z_BYTE -= len_byte;
if (GPT - BEG < beg_unchanged)
beg_unchanged = GPT - BEG;
if (Z - GPT < end_unchanged)
end_unchanged = Z - GPT;
if (GPT - BEG < BEG_UNCHANGED)
BEG_UNCHANGED = GPT - BEG;
if (Z - GPT < END_UNCHANGED)
END_UNCHANGED = Z - GPT;
for (;;)
{
......
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