BUG: remove tabs from classnames

This commit is contained in:
Bill Hoffman 2000-10-25 17:19:27 -04:00
parent a39c64ce77
commit 366c783f6c
1 changed files with 5 additions and 0 deletions

View File

@ -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);