aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tafwriter.cpp3
1 files changed, 2 insertions, 1 deletions
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 )
28{ 28{
29 ident(); 29 ident();
30 sOut.write("{", 1 ); 30 sOut.write("{", 1 );
31 writeString( pRoot->getName() ); 31 if( pRoot->getName() )
32 writeString( pRoot->getName() );
32 sOut.write(":\n", 2 ); 33 sOut.write(":\n", 2 );
33 iDepth++; 34 iDepth++;
34 const Bu::TafGroup::NodeList &nl = pRoot->getChildren(); 35 const Bu::TafGroup::NodeList &nl = pRoot->getChildren();