]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerGUIdimap.cxx
Remove the dollar-id-dollar in the responsible name which interfere with CDB_MD metad...
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerGUIdimap.cxx
index eeeeb098ee927163759f133b54262aa268e0ed04..ed3602fe0e0ef142a5e50f9d05519feaf7769091 100644 (file)
@@ -258,7 +258,7 @@ void AliMUONTriggerGUIdimap::DrawMaps(Int_t chamber)
   TPaveText *label;
   TBox *boxd;
 
-  Char_t cln[3];
+  Char_t cln[4]; // must be 4 long - room for terminating '\0'
   Int_t detElemId, cathode, ix, iy, charge, color;
   Int_t holdS, holdL, holdC;
   Float_t xCenter, yCenter, xWidth, yWidth, holdXC, holdYC;
@@ -327,7 +327,7 @@ void AliMUONTriggerGUIdimap::DrawMaps(Int_t chamber)
 
     if (holdL == 9) {
 
-      snprintf(cln,3,"C%1d",holdC);
+      snprintf(cln,4,"C%1d",holdC);
 
       ptx1 = holdXC - lWidth;
       ptx2 = holdXC + lWidth;
@@ -342,7 +342,7 @@ void AliMUONTriggerGUIdimap::DrawMaps(Int_t chamber)
     }
     if (holdL == 1) {
 
-      snprintf(cln,3,"C%1d",holdC);
+      snprintf(cln,4,"C%1d",holdC);
 
       ptx1 = holdXC - lWidth;
       ptx2 = holdXC + lWidth;
@@ -357,7 +357,7 @@ void AliMUONTriggerGUIdimap::DrawMaps(Int_t chamber)
     }
     if (holdS == 0 && holdC == 7) {
 
-      snprintf(cln,3,"L%1d",holdL);
+      snprintf(cln,4,"L%1d",holdL);
 
       ptx1 = -1.07*frameXmax - lWidth;
       ptx2 = -1.07*frameXmax + lWidth;
@@ -372,7 +372,7 @@ void AliMUONTriggerGUIdimap::DrawMaps(Int_t chamber)
     }
     if (holdS == 1 && holdC == 7) {
 
-      snprintf(cln,3,"L%1d",holdL);
+      snprintf(cln,4,"L%1d",holdL);
 
       ptx1 = +1.07*frameXmax - lWidth;
       ptx2 = +1.07*frameXmax + lWidth;