Commit 1b2e77e4 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

fix breakage

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
...@@ -897,7 +897,7 @@ void do_insertfile( ...@@ -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
......
...@@ -439,7 +439,7 @@ void copy_from_filestruct(filestruct *file_top, filestruct *file_bot) ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment