Skip to content
Snippets Groups Projects
Commit 8f77e677 authored by Olivier Couet's avatar Olivier Couet
Browse files

- A "static" was missing (problem seen when the macro was

  executed several times).
  root [0] .L multipalette.C
  root [1] multipalette()
  root [2] multipalette()


git-svn-id: http://root.cern.ch/svn/root/trunk@31305 27541ba8-7e3a-0410-8455-c3a389f83636
parent 21200862
No related branches found
No related tags found
Loading
......@@ -10,7 +10,7 @@
void Pal1()
{
Int_t colors[50];
static Int_t colors[50];
static Bool_t initialized = kFALSE;
Double_t Red[3] = { 1.00, 0.00, 0.00};
......@@ -29,7 +29,7 @@ void Pal1()
void Pal2()
{
Int_t colors[50];
static Int_t colors[50];
static Bool_t initialized = kFALSE;
Double_t Red[3] = { 1.00, 0.50, 0.00};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment