[Aptitude-svn-commit] r3893 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Wed Aug 17 17:46:26 UTC 2005
Author: dburrows
Date: Wed Aug 17 17:46:23 2005
New Revision: 3893
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/pkg_tree.cc
Log:
Fix backwards re-searching when incremental search is enabled.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Wed Aug 17 17:46:23 2005
@@ -1,5 +1,10 @@
2005-08-17 Daniel Burrows <dburrows at debian.org>
+ * src/pkg_tree.cc:
+
+ Fix the initialization of last_search_backwards when incremental
+ search is enabled.
+
* src/vscreen/vs_tree.cc:
When directly setting the selection to a new tree location, make
Modified: branches/aptitude-0.3/aptitude/src/pkg_tree.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_tree.cc (original)
+++ branches/aptitude-0.3/aptitude/src/pkg_tree.cc Wed Aug 17 17:46:23 2005
@@ -456,6 +456,7 @@
if(m)
{
pkg_matcher_search searcher(m);
+ last_search_backwards = backward;
if(backward)
search_back_for(searcher);
else
More information about the Aptitude-svn-commit
mailing list