]> git.eshelyaron.com Git - emacs.git/commitdiff
(code_convert_region): Compute beg/end_unchanged per
authorGerd Moellmann <gerd@gnu.org>
Mon, 23 Aug 1999 00:11:40 +0000 (00:11 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 23 Aug 1999 00:11:40 +0000 (00:11 +0000)
buffer.

src/coding.c

index 6010b402529b85d23b3505563cda196730c10253..ee15e64603c6b42266cd86c6dc37232d3fae9fd7 100644 (file)
@@ -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 (;;)
     {