diff options
-rw-r--r-- | Source/cmSystemTools.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index a940b36..a7d7353 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -45,6 +45,11 @@ std::string cmSystemTools::CleanUpName(const char* name) { className = className.substr(0, pos); } + pos = className.find('\t'); + if(pos != std::string::npos) + { + className = className.substr(0, pos); + } return className; } |