BUG: remove tabs from classnames
This commit is contained in:
parent
a39c64ce77
commit
366c783f6c
|
@ -41,6 +41,11 @@ std::string cmSystemTools::CleanUpName(const char* name)
|
||||||
}
|
}
|
||||||
|
|
||||||
pos = className.find(' ');
|
pos = className.find(' ');
|
||||||
|
if(pos != std::string::npos)
|
||||||
|
{
|
||||||
|
className = className.substr(0, pos);
|
||||||
|
}
|
||||||
|
pos = className.find('\t');
|
||||||
if(pos != std::string::npos)
|
if(pos != std::string::npos)
|
||||||
{
|
{
|
||||||
className = className.substr(0, pos);
|
className = className.substr(0, pos);
|
||||||
|
|
Loading…
Reference in New Issue