From baaf14f63872ccfab3cb20f72a5cbb56d8cce8a4 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 26 Oct 2009 14:28:56 +0000 Subject: Minor, cosmetic change to the TafWriter. It now writes group names that are blank as they were intended, i.e. {: }, not {"": }. --- src/tafwriter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tafwriter.cpp b/src/tafwriter.cpp index c5fc730..0271c43 100644 --- a/src/tafwriter.cpp +++ b/src/tafwriter.cpp @@ -28,7 +28,8 @@ void Bu::TafWriter::writeGroup( const Bu::TafGroup *pRoot ) { ident(); sOut.write("{", 1 ); - writeString( pRoot->getName() ); + if( pRoot->getName() ) + writeString( pRoot->getName() ); sOut.write(":\n", 2 ); iDepth++; const Bu::TafGroup::NodeList &nl = pRoot->getChildren(); -- cgit v1.2.3