diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-15 16:14:41 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2014-02-16 19:59:00 -0800 |
commit | 9c7d1dbb6f943569aa18cf8aa79fd1d284970301 (patch) | |
tree | ee4f790ce8e79b727f8ea4a92d40e12b6cda3b3e /pager.cpp | |
parent | ef9f2ab31f75eefc7c34240386c247b775431d80 (diff) |
Make the pager search field allow searching on the prefix
Diffstat (limited to 'pager.cpp')
-rw-r--r-- | pager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -366,7 +366,7 @@ bool pager_t::completion_info_passes_filter(const comp_t &info) const /* Match against the completion strings */ for (size_t i=0; i < info.comp.size(); i++) { - if (string_fuzzy_match_string(needle, info.comp.at(i), limit).type != fuzzy_match_none) + if (string_fuzzy_match_string(needle, prefix + info.comp.at(i), limit).type != fuzzy_match_none) { return true; } |