comparison src/insdel.c @ 20983:288cf06bf65c

(del_range_both): Reorder args. All callers changed.
author Karl Heuer <kwzh@gnu.org>
date Wed, 25 Feb 1998 23:18:15 +0000
parents f77dcb2556c5
children 1e0b48e0e84f
comparison
equal deleted inserted replaced
20982:3a01b0f0338f 20983:288cf06bf65c
1328 1328
1329 /* Like del_range_1, but positions are specified both as charpos 1329 /* Like del_range_1, but positions are specified both as charpos
1330 and bytepos. */ 1330 and bytepos. */
1331 1331
1332 void 1332 void
1333 del_range_both (from, to, from_byte, to_byte, prepare) 1333 del_range_both (from, from_byte, to, to_byte, prepare)
1334 int from, to, from_byte, to_byte, prepare; 1334 int from, from_byte, to, to_byte, prepare;
1335 { 1335 {
1336 /* Make args be valid */ 1336 /* Make args be valid */
1337 if (from_byte < BEGV_BYTE) 1337 if (from_byte < BEGV_BYTE)
1338 from_byte = BEGV_BYTE; 1338 from_byte = BEGV_BYTE;
1339 if (to_byte > ZV_BYTE) 1339 if (to_byte > ZV_BYTE)