Mercurial > emacs
changeset 20998:1e0b48e0e84f
(del_range_2): Reorder args. All callers changed.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 27 Feb 1998 22:09:33 +0000 |
parents | 115d8c173aaf |
children | e4dd62e5d921 |
files | src/insdel.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/insdel.c Fri Feb 27 22:05:12 1998 +0000 +++ b/src/insdel.c Fri Feb 27 22:09:33 1998 +0000 @@ -1287,7 +1287,7 @@ 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 @@ 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 @@ 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 @@ 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;