fix breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2007-08-16 04:05:05 +00:00
parent ee89418102
commit 1b2e77e4ff
2 changed files with 2 additions and 2 deletions

View File

@ -897,7 +897,7 @@ void do_insertfile(
} }
#ifndef NANO_TINY #ifndef NANO_TINY
else if (openfile->mark_set && do_mark_shift) else if (openfile->mark_set && do_mark_shift)
openfile->mark_begin_x -= current_x_save; openfile->mark_begin_x -= openfile->current_x;
#endif #endif
/* Update the current y-coordinate to account for the /* Update the current y-coordinate to account for the

View File

@ -439,7 +439,7 @@ void copy_from_filestruct(filestruct *file_top, filestruct *file_bot)
} }
#ifndef NANO_TINY #ifndef NANO_TINY
else if (openfile->mark_set && do_mark_shift) else if (openfile->mark_set && do_mark_shift)
openfile->mark_begin_x -= current_x_save; openfile->mark_begin_x -= openfile->current_x;
#endif #endif
/* Get the number of characters in the copied text, and add it to /* Get the number of characters in the copied text, and add it to