From 366c783f6c6b6987a2425f38e51b53e74bb891e0 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 25 Oct 2000 17:19:27 -0400 Subject: BUG: remove tabs from classnames --- Source/cmSystemTools.cxx | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- cgit v0.12