From d1c2c1ca76f05e1993d216b861d417ef9cee9349 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Tue, 26 Mar 2002 17:58:42 +0000 Subject: [PATCH] - 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 --- ChangeLog | 2 ++ search.c | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index cc85b52d..b878031e 100644 --- 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 index b96b214b..fdb025d4 100644 --- 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; } -- 2.39.5