get rid of case sensivity switch in search engine

I don't think anybody was using it.
This commit is contained in:
Andrzej Rybczak
2010-01-22 20:56:02 +01:00
parent 794fbbab3d
commit 45acbfe862
2 changed files with 43 additions and 55 deletions

View File

@@ -64,14 +64,12 @@ 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[];
std::string itsConstraints[ConstraintsNumber];
static bool MatchToPattern;
static int CaseSensitive;
};
extern SearchEngine *mySearcher;