changeset 20964:4cad33afd914

(message_dolog): Give correct args to message_log_check_duplicate and del_range_both.
author Kenichi Handa <handa@m17n.org>
date Tue, 24 Feb 1998 06:57:15 +0000
parents 0d56074cec59
children 8c68721e5ec9
files src/xdisp.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Mon Feb 23 17:51:06 1998 +0000
+++ b/src/xdisp.c	Tue Feb 24 06:57:15 1998 +0000
@@ -360,12 +360,12 @@
 	      prev_bol = PT;
 	      prev_bol_byte = PT_BYTE;
 
-	      dup = message_log_check_duplicate (prev_bol, this_bol,
-						 prev_bol_byte, this_bol_byte);
+	      dup = message_log_check_duplicate (prev_bol, prev_bol_byte,
+						 this_bol, this_bol_byte);
 	      if (dup)
 		{
-		  del_range_both (prev_bol, prev_bol_byte,
-				  this_bol, this_bol_byte, 0);
+		  del_range_both (prev_bol, this_bol,
+				  prev_bol_byte, this_bol_byte, 0);
 		  if (dup > 1)
 		    {
 		      char dupstr[40];
@@ -385,7 +385,7 @@
 	    {
 	      scan_newline (Z, Z_BYTE, BEG, BEG_BYTE,
 			    -XFASTINT (Vmessage_log_max) - 1, 0);
-	      del_range_both (BEG, BEG_BYTE, PT, PT_BYTE, 0);
+	      del_range_both (BEG, PT, BEG_BYTE, PT_BYTE, 0);
 	    }
 	}
       BEGV = XMARKER (oldbegv)->charpos;