Index: trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 849)
+++ trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 859)
@@ -86,10 +86,10 @@
     // if no canvas is yet existing to draw into, create a new one
     //
-    if ( !gPad ) new TCanvas("display", "MAGIC display", 0, 0, 650, 500) ;
+    if (!gPad) new TCanvas("display", "MAGIC display", 0, 0, 650, 500);
 
     //
     // draw all pixels of the camera
     //
-    for (UInt_t i=0; i< fNumPixels; i++)
+    for (UInt_t i=0; i<fNumPixels; i++)
         (*this)[i].Draw();
 
@@ -97,5 +97,5 @@
     // draw legend
     //
-    for (Int_t i=0; i< kITEMS_LEGEND; i++)
+    for (Int_t i=0; i<kITEMS_LEGEND; i++)
     {
         GetBox(i)->Draw();
Index: trunk/MagicSoft/Mars/mgui/MGeomCam.h
===================================================================
--- trunk/MagicSoft/Mars/mgui/MGeomCam.h	(revision 849)
+++ trunk/MagicSoft/Mars/mgui/MGeomCam.h	(revision 859)
@@ -31,5 +31,6 @@
     UInt_t GetNumPixels() const { return fNumPixels; }
 
-    MGeomPix &operator[](Int_t i) { return *(MGeomPix*)fPixels->At(i); }
+    MGeomPix &operator[](Int_t i)       { return *(MGeomPix*)fPixels->At(i); }
+    MGeomPix &operator[](Int_t i) const { return *(MGeomPix*)fPixels->At(i); }
 
     virtual void Print(Option_t *opt=NULL);
