From 052cb7753bfb30436c7996181d5676ca9b24ecce Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 12 Oct 2006 17:19:57 -0400 Subject: [PATCH] ENH: undo bad changes --- Source/cmGlobalXCodeGenerator.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index d685c176b..319f460b9 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]=' ';