This commit is contained in:
dmitry 2023-07-20 22:57:33 +03:00
parent d3bcff31e5
commit 05efdb74f0

View File

@ -294,7 +294,9 @@ std::string Workspaces::getIcon(const std::string &name, const Json::Value &node
} }
it = std::find_if(high_priority_named_.begin(), high_priority_named_.end(), it = std::find_if(high_priority_named_.begin(), high_priority_named_.end(),
[&](const std::string &member) { return trimWorkspaceName(member) == trimWorkspaceName(name); }); [&](const std::string &member) {
return trimWorkspaceName(member) == trimWorkspaceName(name);
});
if (it != high_priority_named_.end()) { if (it != high_priority_named_.end()) {
return config_["format-icons"][trimWorkspaceName(name)].asString(); return config_["format-icons"][trimWorkspaceName(name)].asString();
} }