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:
parent
5cb4c8380d
commit
4bd2544b25
@ -139,7 +139,11 @@ void cmXCodeObject::Print(std::ostream& out)
|
|||||||
else if(object->TypeValue == ATTRIBUTE_GROUP)
|
else if(object->TypeValue == ATTRIBUTE_GROUP)
|
||||||
{
|
{
|
||||||
std::map<std::string, cmXCodeObject*>::iterator j;
|
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 !=
|
for(j = object->ObjectAttributes.begin(); j !=
|
||||||
object->ObjectAttributes.end(); ++j)
|
object->ObjectAttributes.end(); ++j)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user