summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmXCodeObject.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 519545a..72d8e99 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -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)
{