diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2000-10-25 21:19:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2000-10-25 21:19:27 (GMT) |
commit | 366c783f6c6b6987a2425f38e51b53e74bb891e0 (patch) | |
tree | 94b29a779ace0fc53bb95a78ec24bc408a4526f1 /Source/cmSystemTools.cxx | |
parent | a39c64ce77ff08ae27fda30f132403e34487088c (diff) | |
download | CMake-366c783f6c6b6987a2425f38e51b53e74bb891e0.zip CMake-366c783f6c6b6987a2425f38e51b53e74bb891e0.tar.gz CMake-366c783f6c6b6987a2425f38e51b53e74bb891e0.tar.bz2 |
BUG: remove tabs from classnames
Diffstat (limited to 'Source/cmSystemTools.cxx')
-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; } |