don't pick up empty specials

develop
Myk Taylor 2023-03-15 13:40:08 -07:00
parent 0e1909bad1
commit a4365f47f5
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 4 additions and 2 deletions

@ -72,8 +72,10 @@ DefaultItemFilters::DefaultItemFilters(color_ostream &out, PersistentDataItem &f
if (elems.size() > 1) {
vector<string> specs;
split_string(&specs, elems[1], ",");
for (auto & special : specs)
specials.emplace(special);
for (auto & special : specs) {
if (special.size())
specials.emplace(special);
}
}
}