Xcode: Do not add whitespace after attribute group opening brace

This suppresses the extra space that would be generated if the
separator is a space. The conditional block is also used in this
form elsewhere.
This commit is contained in:
Gregor Jasny 2015-04-07 22:00:29 +02:00
parent 5cb4c8380d
commit 4bd2544b25
1 changed files with 5 additions and 1 deletions

View File

@ -139,7 +139,11 @@ void cmXCodeObject::Print(std::ostream& out)
else if(object->TypeValue == ATTRIBUTE_GROUP)
{
std::map<std::string, cmXCodeObject*>::iterator j;
out << i->first << " = {" << separator;
out << i->first << " = {";
if(separator == "\n")
{
out << separator;
}
for(j = object->ObjectAttributes.begin(); j !=
object->ObjectAttributes.end(); ++j)
{