Small bugfix for glob pattern matcher.

This commit is contained in:
Matthias Koefferlein 2019-05-29 22:27:58 +02:00
parent abc3d38ba4
commit f59e49d678
1 changed files with 4 additions and 0 deletions

View File

@ -323,6 +323,10 @@ public:
virtual bool match (const char *s, std::vector<std::string> *e) const
{
if (!*s) {
return false;
}
uint32_t c = utf32_from_utf8 (s);
if (! m_cs) {
c = utf32_downcase (c);