Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 8560)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 8561)
@@ -19,4 +19,13 @@
                                                  -*-*- END OF LINE -*-*-
 
+ 2007/06/15 Thomas Bretz
+
+   * mpedestal/MPedestalSubtractedEvt.cc:
+     - fixed a bug in the determination of the maximum slice. Only 
+       each second slice was checked. This has been introduced with
+       the last change four weeks ago.
+
+
+
  2007/06/15 Daniela Dorner
 
@@ -130,4 +139,8 @@
    * mjobs/MJob.cc:
      - one more sanity check if MEnv is not valid
+
+   * Makefile:
+     - first compile the programs source code and then link the library
+       this make it much faster to debug the code of the program sources.
 
 
Index: /trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.cc
===================================================================
--- /trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.cc	(revision 8560)
+++ /trunk/MagicSoft/Mars/mpedestal/MPedestalSubtractedEvt.cc	(revision 8561)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MPedestalSubtractedEvt.cc,v 1.4 2007-05-16 13:56:17 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MPedestalSubtractedEvt.cc,v 1.5 2007-06-15 12:58:57 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -150,5 +150,5 @@
 
     for (const Float_t *ptr=beg+1; ptr<=sam+last; ptr++)
-        if (*++ptr>*max)
+        if (*ptr>*max)
             max = ptr;
 
@@ -178,5 +178,5 @@
 
     for (const Byte_t *ptr=beg+1; ptr<=sam+last; ptr++)
-        if (*++ptr>*max)
+        if (*ptr>*max)
             max = ptr;
 
