changeset 21381:215a47a9f02b

(Ftranspose_regions): Fix order of parameters for replace_range.
author Andreas Schwab <schwab@suse.de>
date Mon, 06 Apr 1998 09:20:04 +0000
parents 28b9e0d48deb
children 9c3fc93e7957
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Mon Apr 06 09:11:05 1998 +0000
+++ b/src/editfns.c	Mon Apr 06 09:20:04 1998 +0000
@@ -2776,8 +2776,8 @@
 			 start1_byte, start1_byte + len1_byte,
 			 start2_byte, start2_byte + len2_byte);
 
-      replace_range (text1, start2, end2, 1, 0, 1);
-      replace_range (text2, start1, end1, 1, 0, 1);
+      replace_range (start2, end2, text1, 1, 0, 1);
+      replace_range (start1, end1, text2, 1, 0, 1);
 
       UNGCPRO;
       return Qnil;