nano

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

commit 34319a1ff7f9ae429e8ed38d29f3e8c7b3ae1dab
parent efd223631991cde868d0c82ee27afee8f2571ce9
Author: Chris Allegretta <chrisa@asty.org>
Date:   Fri, 22 Jun 2001 21:47:23 +0000

Okay, and now dont add extra blanks when at filebot


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

Diffstat:
Mcut.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cut.c b/cut.c @@ -222,7 +222,7 @@ int do_cut_text(void) /* If the line is empty and we didn't just cut a non-blank line, create a dummy line and add it to the cutbuffer */ - if (marked_cut != 1) { + if (marked_cut != 1 && current->next != filebot) { filestruct *junk;