summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-10-25 21:19:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-10-25 21:19:27 (GMT)
commit366c783f6c6b6987a2425f38e51b53e74bb891e0 (patch)
tree94b29a779ace0fc53bb95a78ec24bc408a4526f1 /Source
parenta39c64ce77ff08ae27fda30f132403e34487088c (diff)
downloadCMake-366c783f6c6b6987a2425f38e51b53e74bb891e0.zip
CMake-366c783f6c6b6987a2425f38e51b53e74bb891e0.tar.gz
CMake-366c783f6c6b6987a2425f38e51b53e74bb891e0.tar.bz2
BUG: remove tabs from classnames
Diffstat (limited to 'Source')
-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;
}