Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 6495)
+++ trunk/MagicSoft/Mars/Changelog	(revision 6496)
@@ -23,4 +23,7 @@
 
  2005/02/15 Abelardo Moralejo
+
+   * macros/mccalibrate.C
+     - fixed small bug
 
    * mmontecarlo/MMcCollectionAreaCalc.[h,cc] 
Index: trunk/MagicSoft/Mars/macros/mccalibrate.C
===================================================================
--- trunk/MagicSoft/Mars/macros/mccalibrate.C	(revision 6495)
+++ trunk/MagicSoft/Mars/macros/mccalibrate.C	(revision 6496)
@@ -282,5 +282,7 @@
 
   tlist.AddToList(&write1);
-  tlist.AddToList(&write2); 
+
+  if (OutFilename2)
+    tlist.AddToList(&write2); 
   // Add tasks to write the Events and RunHeaders trees to output.
 
