summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-10-12 21:19:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-10-12 21:19:57 (GMT)
commit052cb7753bfb30436c7996181d5676ca9b24ecce (patch)
tree29776af7ccb6d7b0c2d694b5d8dd76253e6c85b3 /Source/cmGlobalXCodeGenerator.cxx
parent61a4c12ce6d0e6ed7508d5072c1ff61781d83fab (diff)
downloadCMake-052cb7753bfb30436c7996181d5676ca9b24ecce.zip
CMake-052cb7753bfb30436c7996181d5676ca9b24ecce.tar.gz
CMake-052cb7753bfb30436c7996181d5676ca9b24ecce.tar.bz2
ENH: undo bad changes
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index d685c17..319f460 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -866,10 +866,6 @@ std::string cmGlobalXCodeGenerator::ExtractFlag(const char* flag,
std::string::size_type pos = flags.find(flag);
if(pos != flags.npos)
{
- if(flags[pos + strlen(flag)] != ' ')
- {
- return flags;
- }
retFlag = flag;
// remove the flag
flags[pos]=' ';