aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2004-11-28 04:19:01 +0000
committerJason Woodward2004-11-28 04:19:01 +0000
commit5c2faa2d92937833fa8fea1b3a0ae0e2fb4f4bf4 (patch)
tree6f3b6818712a1b94c0a04ab4ff700e0b06379a24
parentaa8f390efb2c5de9749e71dd560df6c54d15f269 (diff)
downloadslapt-get-5c2faa2d92937833fa8fea1b3a0ae0e2fb4f4bf4.tar.gz
added comment about matches
-rw-r--r--src/action.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/action.c b/src/action.c
index 0bd46a9..aff0d73 100644
--- a/src/action.c
+++ b/src/action.c
@@ -256,6 +256,7 @@ void pkg_action_search(const char *pattern){
pkgs = get_available_pkgs();
installed_pkgs = get_installed_pkgs();
+ /* save the searches for available and installed */
matches = search_pkg_list(pkgs,pattern);
imatches = search_pkg_list(installed_pkgs,pattern);