make use of CaseInsensitiveStringComparison() instead of copying strings

This commit is contained in:
Andrzej Rybczak
2009-09-22 00:56:51 +02:00
parent 31a5363434
commit aad9146397
2 changed files with 44 additions and 84 deletions

View File

@@ -63,6 +63,7 @@ class SearchEngine : public Screen< Menu< std::pair<Buffer *, MPD::Song *> > >
void Search();
static std::string SearchEngineOptionToString(const std::pair<Buffer *, MPD::Song *> &, void *);
static bool SEStringComparison(const std::string &a, const std::string &b, bool case_sensitive);
static const size_t ConstraintsNumber = 10;
static const char *ConstraintsNames[];