Trim unwanted bracket in layout name

This commit is contained in:
selurvedu 2015-07-27 21:11:13 +00:00
parent 58fa6eb1f9
commit 7d5c44d4c4
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ Bool XKeyboard::initializeXkb()
groupName = groupNameC;
std::string::size_type pos = groupName.find('(', 0);
if (pos != std::string::npos) {
groupName = groupName.substr(0, pos + 1);
groupName = groupName.substr(0, pos - 1);
}
_groupNames.push_back(groupName);
}