Ignore white space when spelling groupe name

feature/AudioLoginLogoff
Geoffrey Merck 6 years ago
parent b98061698c
commit 473f888ba5

@ -428,6 +428,10 @@ void CAudioUnit::spellGroup(unsigned int id, const std::string& groupName, const
{ {
for(auto it = groupName.begin(); it != groupName.end();it++) for(auto it = groupName.begin(); it != groupName.end();it++)
{ {
if((*it) ==' ')
{
continue;
}
std::string cstr; std::string cstr;
cstr.push_back(std::tolower((*it))); cstr.push_back(std::tolower((*it)));
lookup(id, cstr, destination); lookup(id, cstr, destination);

Loading…
Cancel
Save

Powered by TurnKey Linux.