Index: trunk/MagicSoft/Mars/mfileio/MReadTree.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MReadTree.cc	(revision 1472)
+++ trunk/MagicSoft/Mars/mfileio/MReadTree.cc	(revision 1474)
@@ -777,4 +777,10 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// Implementation of SavePrimitive. Used to write the call to a constructor
+// to a macro. In the original root implementation it is used to write
+// gui elements to a macro-file.
+//
 void MReadTree::SavePrimitive(ofstream &out, Option_t *o="")
 {
Index: trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
===================================================================
--- trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc	(revision 1472)
+++ trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc	(revision 1474)
@@ -397,4 +397,10 @@
 }
 
+// --------------------------------------------------------------------------
+//
+// Implementation of SavePrimitive. Used to write the call to a constructor
+// to a macro. In the original root implementation it is used to write
+// gui elements to a macro-file.
+//
 void MWriteRootFile::SavePrimitive(ofstream &out, Option_t *o="")
 {
@@ -413,5 +419,5 @@
         out << entry->GetContName() << "\", \"";
         out << entry->GetName() << "\", \"";
-        out << entry->GetTitle() << "\")" << endl;
+        out << entry->GetTitle() << "\");" << endl;
     }
 }
