Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 1669)
+++ trunk/MagicSoft/Mars/Changelog	(revision 1670)
@@ -1,4 +1,8 @@
                                                                -*-*- END -*-*-
  2002/11/25: Thomas Bretz
+
+   * mgui/MCamDisplazy.cc:
+     - fixed a bug when sprintf the pointer to the char-array, only
+       took place on alphas.
 
    * macros/multidimdist2.C:
Index: trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 1669)
+++ trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 1670)
@@ -424,11 +424,11 @@
     TButton *but;
     char txt[100];
-    sprintf(txt, "((MCamDisplay*)%p)->SetPalette(1,0);", this);
+    sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(1,0);", this);
     but = new TButton("Pretty", txt, 0.01, 0.95, 0.15, 0.99);
     but->Draw();
-    sprintf(txt, "((MCamDisplay*)%p)->SetPalette(51,0);", this);
+    sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(51,0);", this);
     but = new TButton("Deap Sea", txt, 0.16, 0.95, 0.30, 0.99);
     but->Draw();
-    sprintf(txt, "((MCamDisplay*)%p)->SetPalette(52,0);", this);
+    sprintf(txt, "((MCamDisplay*)0x%lx)->SetPalette(52,0);", this);
     but = new TButton("Blue Inv", txt, 0.31, 0.95, 0.45, 0.99);
     but->Draw();
