From a66afea01c7c5252ebd837baee44797507f86802 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Fri, 27 Feb 1998 22:09:33 +0000 Subject: [PATCH] (del_range_2): Reorder args. All callers changed. --- src/insdel.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/insdel.c b/src/insdel.c index 8b4a6fb74ae..5fc6613b834 100644 --- a/src/insdel.c +++ b/src/insdel.c @@ -1287,7 +1287,7 @@ del_range_1 (from, to, prepare) from_byte = CHAR_TO_BYTE (from); to_byte = CHAR_TO_BYTE (to); - del_range_2 (from, to, from_byte, to_byte); + del_range_2 (from, from_byte, to, to_byte); } /* Like del_range_1 but args are byte positions, not char positions. */ @@ -1323,7 +1323,7 @@ del_range_byte (from_byte, to_byte, prepare) to_byte = CHAR_TO_BYTE (to); } - del_range_2 (from, to, from_byte, to_byte); + del_range_2 (from, from_byte, to, to_byte); } /* Like del_range_1, but positions are specified both as charpos @@ -1360,7 +1360,7 @@ del_range_both (from, from_byte, to, to_byte, prepare) to_byte = CHAR_TO_BYTE (to); } - del_range_2 (from, to, from_byte, to_byte); + del_range_2 (from, from_byte, to, to_byte); } /* Delete a range of text, specified both as character positions @@ -1368,8 +1368,8 @@ del_range_both (from, from_byte, to, to_byte, prepare) while FROM_BYTE and TO_BYTE are byte positions. */ void -del_range_2 (from, to, from_byte, to_byte) - int from, to, from_byte, to_byte; +del_range_2 (from, from_byte, to, to_byte) + int from, from_byte, to, to_byte; { register int nbytes_del, nchars_del; -- 2.39.2