Index: trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
===================================================================
--- trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc	(revision 7001)
+++ trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc	(revision 7005)
@@ -292,8 +292,12 @@
 void MAlphaFitter::PaintResult(Float_t x, Float_t y, Float_t size) const
 {
-    TLatex text(x, y, Form("\\sigma_{Li/Ma}=%.1f  \\omega=%.1f\\circ  E=%d  (\\alpha<%.1f\\circ)  (\\chi_{b}^{2}/ndf=%.1f  \\chi_{s}^{2}/ndf=%.1f  c_{0}=%.1f)",
-                           fSignificance, GetGausSigma(),
-                           (int)fEventsExcess, fIntegralMax,
-                           fChiSqBg, fChiSqSignal, fCoefficients[3]));
+    const Double_t w  = GetGausSigma();
+    const Int_t    l  = w<=0 ? 0 : (Int_t)TMath::Ceil(-TMath::Log10(w));
+    const TString fmt = Form("\\sigma_{Li/Ma}=%%.1f  \\omega=%%.%df\\circ  E=%%d  (\\alpha<%%.1f\\circ)  (\\chi_{b}^{2}/ndf=%%.1f  \\chi_{s}^{2}/ndf=%%.1f  c_{0}=%%.1f)",
+                             l<1?1:l);
+
+    TLatex text(x, y, Form(fmt.Data(), fSignificance, w, (int)fEventsExcess,
+                           fIntegralMax, fChiSqBg, fChiSqSignal,
+                           fCoefficients[3]));
 
     text.SetBit(TLatex::kTextNDC);
