nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 1b2e77e4ff05e6c45f1fb435d63f4281210b9ced
parent ee89418102903972f8965d3e29b22dcfc43cc25c
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu, 16 Aug 2007 04:05:05 +0000

fix breakage


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4157 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/files.c | 2+-
Msrc/nano.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -897,7 +897,7 @@ void do_insertfile( } #ifndef NANO_TINY else if (openfile->mark_set && do_mark_shift) - openfile->mark_begin_x -= current_x_save; + openfile->mark_begin_x -= openfile->current_x; #endif /* Update the current y-coordinate to account for the diff --git a/src/nano.c b/src/nano.c @@ -439,7 +439,7 @@ void copy_from_filestruct(filestruct *file_top, filestruct *file_bot) } #ifndef NANO_TINY else if (openfile->mark_set && do_mark_shift) - openfile->mark_begin_x -= current_x_save; + openfile->mark_begin_x -= openfile->current_x; #endif /* Get the number of characters in the copied text, and add it to