nano

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

commit d1c2c1ca76f05e1993d216b861d417ef9cee9349
parent f6cba643763ffe17d75d6ebeba0ff684fdbdd9a1
Author: Chris Allegretta <chrisa@asty.org>
Date:   Tue, 26 Mar 2002 17:58:42 +0000

- search.c:do_gotoline() - Set placewewant if we actually move to a different line


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

Diffstat:
MChangeLog | 2++
Msearch.c | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -40,6 +40,8 @@ CVS code - - search.c: search_init() - Fix a missing free (Rocco). + do_gotoline() + - Set placewewant if we actually move to a different line. - utils.c: stristr() - Defined regardless of NANO_SMALL (noticed by Jordi). diff --git a/search.c b/search.c @@ -844,6 +844,7 @@ int do_gotoline(int line, int save_pos) else edit_update(current, CENTER); + placewewant = xplustabs(); goto_abort(); return 1; }