summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx5
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;
}