Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 8905)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 8906)
@@ -27,4 +27,7 @@
    * mbase/MContinue.cc:
      - improved output
+
+   * mbase/MTaskList.cc:
+     - fixed broken FindTaskList
 
 
@@ -143,4 +146,11 @@
      - contped has been removed from the tasklist
 
+   * mhbase/MH3.cc:
+     - fixed a bug introduced with the lables (it must be !(x&y) 
+       instead of !x&y
+
+   * mjobs/MDataSet.cc:
+     - shortened a line of output to fit into 80 characters
+
 
 
Index: /trunk/MagicSoft/Mars/mbase/MTaskList.cc
===================================================================
--- /trunk/MagicSoft/Mars/mbase/MTaskList.cc	(revision 8905)
+++ /trunk/MagicSoft/Mars/mbase/MTaskList.cc	(revision 8906)
@@ -18,5 +18,5 @@
 !   Author(s): Thomas Bretz  12/2000 <mailto:tbretz@astro.uni-wuerzburg.de>
 !
-!   Copyright: MAGIC Software Development, 2000-2007
+!   Copyright: MAGIC Software Development, 2000-2008
 !
 !
@@ -420,16 +420,16 @@
 MTaskList *MTaskList::FindTaskList(const char *task)
 {
-    if (FindObject(task))
-        return this;
-
     TIter Next(fTasks);
     TObject *o = 0;
     while ((o=Next()))
     {
+        if (strcmp(o->GetName(), task)==0)
+           return this;
+
         MTaskList *l = dynamic_cast<MTaskList*>(o);
         if (!l)
             continue;
 
-        if (l->FindObject(task))
+        if ((l=l->FindTaskList(task)))
             return l;
     }
@@ -443,16 +443,16 @@
 MTaskList *MTaskList::FindTaskList(const MTask *task)
 {
-    if (FindObject(task))
-        return this;
-
     TIter Next(fTasks);
     TObject *o = 0;
     while ((o=Next()))
     {
+       if (o==task)
+          return this;
+
         MTaskList *l = dynamic_cast<MTaskList*>(o);
         if (!l)
             continue;
 
-        if (l->FindObject(task))
+        if ((l=l->FindTaskList(task)))
             return l;
     }
