]> git.wh0rd.org Git - nano.git/commit
add parameter use_answer to search_init(); when it's TRUE, only set
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 4 Oct 2004 22:37:56 +0000 (22:37 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 4 Oct 2004 22:37:56 +0000 (22:37 +0000)
commitd532f197b0997aaa9e09072264d4175d94529850
tree2cc07e26bab9f05949ab519356cb340d3735a14a
parente663dcd6aa63df24bff68937931cad771107b0cc
add parameter use_answer to search_init(); when it's TRUE, only set
backupstring to answer, so that we can preserve the text of the
statusbar when switching to the search prompt from the "Go To Line"
prompt; also, set backupstring before doing anything else, add one minor
efficiency tweak, and preserve the text of the statusbar no matter what
when switching from the search prompt to the "Go To Line" prompt, since
the toggling works both ways now and non-numeric text shouldn't be lost
when going only one of those ways

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1965 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
ChangeLog
src/proto.h
src/search.c