From: Gerd Moellmann Date: Mon, 23 Aug 1999 00:11:40 +0000 (+0000) Subject: (code_convert_region): Compute beg/end_unchanged per X-Git-Tag: emacs-pretest-21.0.90~7071 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9f9a1bc83ddf049666dbdc6ccfdafc340902577;p=emacs.git (code_convert_region): Compute beg/end_unchanged per buffer. --- diff --git a/src/coding.c b/src/coding.c index 6010b402529..ee15e64603c 100644 --- a/src/coding.c +++ b/src/coding.c @@ -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 (;;) {