]> git.wh0rd.org Git - nano.git/commit
in do_replace_loop(), treat real_current as current and real_current_x
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 22 Nov 2004 17:08:41 +0000 (17:08 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Mon, 22 Nov 2004 17:08:41 +0000 (17:08 +0000)
commit3de81bc33d4f13930a562ea7b6aee186bb2fe3da
tree2bc7aba9aa93e43df09c41fedf8a4f6223d44fde
parent3f35864b10060e89671bc486adb92faa8d7b6960
in do_replace_loop(), treat real_current as current and real_current_x
as current_x instead of using copies of them (which aren't kept up to
date) when calling findnextstr(); this fixes a problem where the search
can wrap when it shouldn't and skip over all matches after the wrap
point

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