# HG changeset patch # User Kenichi Handa # Date 888303435 0 # Node ID 4cad33afd9141622f9ffe1faff4d7200ddd2107e # Parent 0d56074cec59f1b7e09e451fa16cdb2cf9204294 (message_dolog): Give correct args to message_log_check_duplicate and del_range_both. diff -r 0d56074cec59 -r 4cad33afd914 src/xdisp.c --- 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;