(delete_region, copy_region): rename arguments.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-10-23 20:40:17 +03:00
parent 529c7d70dd
commit 9149a6d132
1 changed files with 6 additions and 6 deletions

View File

@ -149,10 +149,10 @@ input_eval_marks (WInput * in, long *start_mark, long *end_mark)
/* --------------------------------------------------------------------------------------------- */
static void
delete_region (WInput * in, int x_first, int x_last)
delete_region (WInput * in, int start, int end)
{
int first = MIN (x_first, x_last);
int last = MAX (x_first, x_last);
int first = MIN (start, end);
int last = MAX (start, end);
input_mark_cmd (in, FALSE);
in->point = first;
@ -487,10 +487,10 @@ delete_char (WInput * in)
/* --------------------------------------------------------------------------------------------- */
static void
copy_region (WInput * in, int x_first, int x_last)
copy_region (WInput * in, int start, int end)
{
int first = MIN (x_first, x_last);
int last = MAX (x_first, x_last);
int first = MIN (start, end);
int last = MAX (start, end);
if (last == first)
{