From 724b7aa7e7cf2f0bc8de3114c0c3e7cd30ae5bd0 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Tue, 26 Mar 2002 17:49:24 +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/branches/nano_1_0_branch/nano@1148 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ Makefile.am | 2 +- configure.in | 2 +- search.c | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8301e5fd..3c336a5b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ CVS code - - nano.c: do_int_speller() - Fix zombie processes and spelling buffer issues (Rocco Corsi) +- search.c: + do_gotoline() + - Set placewewant if we actually move to a different line. - winio.c: nanogetstr() - Add NANO_HOME_KEY and NANO_END_KEY to the home and diff --git a/Makefile.am b/Makefile.am index d16edd00..1c7aec8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,7 +25,7 @@ MAKEINFO = makeinfo --no-split EXTRA_DIST = ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \ README THANKS TODO install-sh missing mkinstalldirs \ - nano.1 nano.1.html faq.html $(ACINCLUDE_INPUTS) + nano.1 nano.1.html faq.html $(ACINCLUDE_INPUTS) nano.spec SUBDIRS = po intl diff --git a/configure.in b/configure.in index ea827a96..ebc0268d 100644 --- a/configure.in +++ b/configure.in @@ -262,4 +262,4 @@ fi dnl i18n stuff - pretty incomplete for now NANO_AM_GNU_GETTEXT -AC_OUTPUT([Makefile intl/Makefile po/Makefile.in]) +AC_OUTPUT([Makefile intl/Makefile po/Makefile.in nano.spec]) diff --git a/search.c b/search.c index 83677b7d..2e75b189 100644 --- a/search.c +++ b/search.c @@ -731,6 +731,7 @@ int do_gotoline(long defline) edit_update(current, CENTER); } + placewewant = xplustabs(); goto_abort(); return 1; } -- 2.39.5