Index: /trunk/MagicSoft/Mars/Changelog
===================================================================
--- /trunk/MagicSoft/Mars/Changelog	(revision 8955)
+++ /trunk/MagicSoft/Mars/Changelog	(revision 8956)
@@ -85,4 +85,8 @@
      - added
 
+   * mhist/MHCamera.cc:
+     - fixed a bug in the profile and projection functions namely that
+       the default was not correctly treated because char* was 
+       compared with char*
 
 
Index: /trunk/MagicSoft/Mars/mhist/MHCamera.cc
===================================================================
--- /trunk/MagicSoft/Mars/mhist/MHCamera.cc	(revision 8955)
+++ /trunk/MagicSoft/Mars/mhist/MHCamera.cc	(revision 8956)
@@ -1,4 +1,4 @@
 /* ======================================================================== *\
-! $Name: not supported by cvs2svn $:$Id: MHCamera.cc,v 1.107 2007-12-03 17:44:46 tbretz Exp $
+! $Name: not supported by cvs2svn $:$Id: MHCamera.cc,v 1.108 2008-06-14 14:32:15 tbretz Exp $
 ! --------------------------------------------------------------------------
 !
@@ -22,5 +22,5 @@
 !   Author(s): Markus Gaug, 03/2004 <mailto:markus@ifae.es>
 !
-!   Copyright: MAGIC Software Development, 2000-2007
+!   Copyright: MAGIC Software Development, 2000-2008
 !
 !
@@ -697,5 +697,5 @@
     // Create the projection histogram
     TString pname(name);
-    if (name=="_py")
+    if (pname=="_proj")
     {
         pname.Prepend(GetName());
@@ -791,5 +791,5 @@
     // Create the projection histogram
     TString pname(name);
-    if (name=="_rad")
+    if (pname=="_rad")
     {
         pname.Prepend(GetName());
@@ -877,5 +877,5 @@
     // Create the projection histogram
     TString pname(name);
-    if (name=="_azi")
+    if (pname=="_az")
     {
         pname.Prepend(GetName());
