diff options
Diffstat (limited to 'src/search_engine.cpp')
-rw-r--r-- | src/search_engine.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/search_engine.cpp b/src/search_engine.cpp index 721f3697..6d9a5b5f 100644 --- a/src/search_engine.cpp +++ b/src/search_engine.cpp @@ -18,6 +18,7 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ +#include "display.h" #include "helpers.h" #include "search_engine.h" #include "settings.h" @@ -35,22 +36,6 @@ bool search_case_sensitive = 0; const char *search_mode_normal = "Match if tag contains searched phrase"; const char *search_mode_strict = "Match only if both values are the same"; -void SearchEngineDisplayer(const std::pair<Buffer *, Song *> &pair, void *, Menu< std::pair<Buffer *, Song *> > *menu) -{ - if (pair.second) - { - !Config.columns_in_search_engine - ? - DisplaySong(*pair.second, &Config.song_list_format, reinterpret_cast<Menu<Song> *>(menu)) - : - DisplaySongInColumns(*pair.second, &Config.song_columns_list_format, reinterpret_cast<Menu<Song> *>(menu)) - ; - } - - else - *menu << *pair.first; -} - void UpdateFoundList() { bool bold = 0; |