fixed stripping of non-latin characters at end of string in config files
This commit is contained in:
parent
e97403824f
commit
84fc9a1925
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ std::string& config::strip(std::string& str)
|
|||
return str;
|
||||
|
||||
str.erase(str.begin(),it);
|
||||
str.erase(std::find_if(str.rbegin(),str.rend(),isgraph).base(),str.end());
|
||||
str.erase(std::find_if(str.rbegin(),str.rend(),notspace).base(),str.end());
|
||||
|
||||
return str;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue