local browser: properly check if file extension is supported

This commit is contained in:
Andrzej Rybczak
2012-01-15 13:23:07 +01:00
parent b058fdce30
commit 57511bb941
4 changed files with 28 additions and 13 deletions

View File

@@ -73,7 +73,7 @@ class Browser : public Screen< Menu<MPD::Item> >
static bool hasSupportedExtension(const std::string &);
static std::string ItemToString(const MPD::Item &, void *);
static const char *SupportedExtensions[];
static std::set<std::string> SupportedExtensions;
bool itsBrowseLocally;
size_t itsScrollBeginning;