nano

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

commit d87c357abe0cb397a958cbcae9e4de9227070d95
parent ccffc548e1492dbd5d665a0858033172b73b80a4
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Tue,  7 Jun 2016 19:36:36 +0200

tweaks: remove two redundant assignments

The mark has already been unset by do_cut_text().  And any assignment
to 'mark_begin' is useless when 'mark_set' is FALSE.

Diffstat:
Msrc/text.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -661,9 +661,6 @@ void redo_cut(undo *u) do_cut_text(FALSE, FALSE); - openfile->mark_set = FALSE; - openfile->mark_begin = NULL; - free_filestruct(cutbuffer); cutbuffer = oldcutbuffer; cutbottom = oldcutbottom;