Index: /trunk/MagicSoft/Mars/mtemp/mifae/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/mifae/Changelog	(revision 4418)
+++ /trunk/MagicSoft/Mars/mtemp/mifae/Changelog	(revision 4419)
@@ -19,4 +19,9 @@
                                                  -*-*- END OF LINE -*-*-
 
+
+  2004/07/22 Oscar Blanch Bigas
+    * programs/makeHillas.cc
+     - Solved backwards compatibility on the CLEANLEVEL
+       options.
 
   2004/07/22 Ester Aliu 
Index: /trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc
===================================================================
--- /trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc	(revision 4418)
+++ /trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc	(revision 4419)
@@ -513,8 +513,14 @@
 	  ifun >> lcore;
 	  ifun >> ltail;
-	  ifun >> lrings;
-	  ifun >> cleanflag;
-	}
-
+	  if(ifun.get()!='\n'){
+	    ifun.unget();
+	    ifun >> lrings;
+	    if(ifun.get()!='\n'){
+	      ifun.unget();
+	      ifun >> cleanflag;
+	    }
+	  }
+	}
+      
       if(strcmp(word.Data(),"ISLFLAG")==0)
 	{
