Index: trunk/MagicSoft/Simulation/Detector/include-MLons/MLons.cxx
===================================================================
--- trunk/MagicSoft/Simulation/Detector/include-MLons/MLons.cxx	(revision 1522)
+++ trunk/MagicSoft/Simulation/Detector/include-MLons/MLons.cxx	(revision 1523)
@@ -143,6 +143,6 @@
 
   Char_t filename_slt[256];
-  Char_t cbright[5];
-  Char_t cstoredbright[5];
+  Char_t cbright[10];
+  Char_t cstoredbright[10];
 
   Int_t i;
@@ -162,7 +162,12 @@
   //  NOTE: Same means, the smae inside the required precision!!!
 
-  sprintf(cbright,"%3.1f",in_br);
-  sprintf(cstoredbright,"%3.1f",MSLStored.GetBrightness());
-
+  if(in_br<1.0){
+    sprintf(cbright,"%4.2f",in_br);
+    sprintf(cstoredbright,"%4.2f",MSLStored.GetBrightness());
+  }
+  else{
+    sprintf(cbright,"%3.1f",in_br);
+    sprintf(cstoredbright,"%3.1f",MSLStored.GetBrightness());
+  }
   if (strcmp(cbright, cstoredbright)){
     
