Xcode: Quote ',' in Xcode string values (#12259)

This commit is contained in:
Johan Björk 2011-06-09 10:36:53 +02:00 committed by David Cole
parent 14e54c4c44
commit d87eb350f6
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ void cmXCodeObject::PrintString(std::ostream& os,cmStdString String)
// considered special by the Xcode project file parser.
bool needQuote =
(String.empty() ||
String.find_first_of(" <>.+-=@$[]") != String.npos);
String.find_first_of(" <>.+-=@$[],") != String.npos);
const char* quote = needQuote? "\"" : "";
// Print the string, quoted and escaped as necessary.