Fix a bug in TStyle::Copy. The color palette array was not copied. Also protected TStyle::GetColorPalette against the case ncolors=0
Fix a bug in TStyle::Copy. The color palette array was not copied.
Also protected TStyle::GetColorPalette against the case ncolors=0


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@794 27541ba8-7e3a-0410-8455-c3a389f83636

strykejern/TTreeReader,ffurano/root5,arch1tect0r/root,ffurano/root5,veprbl/root,karies/root,davidlt/root,BerserkerTroll/root,karies/root,sbinet/cxx-root,lgiommi/root,lgiommi/root,nilqed/root,perovic/root,arch1tect0r/root,alexschlueter/cern-root,abhinavmoudgil95/root,davidlt/root,Duraznos/root,Y--/root,Y--/root,sbinet/cxx-root,buuck/root,sawenzel/root,karies/root,BerserkerTroll/root,strykejern/TTreeReader,satyarth934/root,sirinath/root,root-mirror/root,vukasinmilosevic/root,arch1tect0r/root,arch1tect0r/root,buuck/root,zzxuanyuan/root,beniz/root,beniz/root,esakellari/my_root_for_test,olifre/root,omazapa/root-old,davidlt/root,alexschlueter/cern-root,kirbyherm/root-r-tools,jrtomps/root,strykejern/TTreeReader,CristinaCristescu/root,arch1tect0r/root,zzxuanyuan/root,georgtroska/root,perovic/root,sirinath/root,Duraznos/root,gganis/root,perovic/root,Dr15Jones/root,0x0all/ROOT,veprbl/root,omazapa/root,beniz/root,evgeny-boger/root,Duraznos/root,arch1tect0r/root,kirbyherm/root-r-tools,mkret2/root,mattkretz/root,dfunke/root,agarciamontoro/root,mhuwiler/rootauto,mhuwiler/rootauto,jrtomps/root,karies/root,omazapa/root-old,BerserkerTroll/root,thomaskeck/root,bbockelm/root,sbinet/cxx-root,root-mirror/root,gbitzes/root,smarinac/root,gbitzes/root,esakellari/my_root_for_test,alexschlueter/cern-root,Duraznos/root,buuck/root,davidlt/root,tc3t/qoot,BerserkerTroll/root,CristinaCristescu/root,georgtroska/root,sirinath/root,pspe/root,jrtomps/root,tc3t/qoot,smarinac/root,esakellari/root,0x0all/ROOT,lgiommi/root,ffurano/root5,Y--/root,sirinath/root,esakellari/root,ffurano/root5,lgiommi/root,vukasinmilosevic/root,satyarth934/root,agarciamontoro/root,tc3t/qoot,dfunke/root,karies/root,sawenzel/root,georgtroska/root,omazapa/root-old,CristinaCristescu/root,BerserkerTroll/root,evgeny-boger/root,buuck/root,Duraznos/root,sirinath/root,agarciamontoro/root,strykejern/TTreeReader,simonpf/root,perovic/root,omazapa/root-old,buuck/root,dfunke/root,Duraznos/root,evgeny-boger/root,evgeny-boger/root,Duraznos/root,vukasinmilosevic/root,sbinet/cxx-root,esakellari/my_root_for_test,vukasinmilosevic/root,bbockelm/root,gbitzes/root,perovic/root,cxx-hep/root-cern,smarinac/root,zzxuanyuan/root-compressor-dummy,perovic/root,gbitzes/root,Y--/root,jrtomps/root,abhinavmoudgil95/root,evgeny-boger/root,bbockelm/root,tc3t/qoot,sawenzel/root,omazapa/root,Dr15Jones/root,smarinac/root,0x0all/ROOT,sawenzel/root,strykejern/TTreeReader,georgtroska/root,sirinath/root,agarciamontoro/root,olifre/root,olifre/root,beniz/root,veprbl/root,mattkretz/root,sirinath/root,zzxuanyuan/root,beniz/root,davidlt/root,thomaskeck/root,smarinac/root,CristinaCristescu/root,tc3t/qoot,esakellari/my_root_for_test,sirinath/root,agarciamontoro/root,perovic/root,sawenzel/root,omazapa/root-old,arch1tect0r/root,evgeny-boger/root,root-mirror/root,dfunke/root,mattkretz/root,satyarth934/root,zzxuanyuan/root,krafczyk/root,beniz/root,karies/root,CristinaCristescu/root,tc3t/qoot,mhuwiler/rootauto,nilqed/root,simonpf/root,smarinac/root,dfunke/root,mkret2/root,BerserkerTroll/root,lgiommi/root,tc3t/qoot,simonpf/root,zzxuanyuan/root-compressor-dummy,karies/root,satyarth934/root,bbockelm/root,perovic/root,evgeny-boger/root,nilqed/root,karies/root,olifre/root,BerserkerTroll/root,sawenzel/root,agarciamontoro/root,omazapa/root-old,perovic/root,mhuwiler/rootauto,mkret2/root,georgtroska/root,arch1tect0r/root,omazapa/root,beniz/root,sawenzel/root,sbinet/cxx-root,sawenzel/root,vukasinmilosevic/root,satyarth934/root,omazapa/root-old,Dr15Jones/root,mhuwiler/rootauto,gbitzes/root,nilqed/root,pspe/root,perovic/root,veprbl/root,pspe/root,beniz/root,pspe/root,davidlt/root,abhinavmoudgil95/root,bbockelm/root,thomaskeck/root,simonpf/root,vukasinmilosevic/root,strykejern/TTreeReader,BerserkerTroll/root,vukasinmilosevic/root,gganis/root,simonpf/root,gganis/root,cxx-hep/root-cern,bbockelm/root,krafczyk/root,agarciamontoro/root,simonpf/root,abhinavmoudgil95/root,abhinavmoudgil95/root,alexschlueter/cern-root,omazapa/root,simonpf/root,georgtroska/root,thomaskeck/root,agarciamontoro/root,esakellari/root,sbinet/cxx-root,mhuwiler/rootauto,satyarth934/root,0x0all/ROOT,olifre/root,esakellari/root,smarinac/root,0x0all/ROOT,satyarth934/root,sbinet/cxx-root,esakellari/my_root_for_test,omazapa/root,gbitzes/root,zzxuanyuan/root-compressor-dummy,bbockelm/root,sbinet/cxx-root,pspe/root,abhinavmoudgil95/root,esakellari/my_root_for_test,Dr15Jones/root,sirinath/root,smarinac/root,Dr15Jones/root,mhuwiler/rootauto,krafczyk/root,abhinavmoudgil95/root,pspe/root,sbinet/cxx-root,bbockelm/root,tc3t/qoot,esakellari/root,mattkretz/root,arch1tect0r/root,arch1tect0r/root,Y--/root,gbitzes/root,satyarth934/root,bbockelm/root,jrtomps/root,CristinaCristescu/root,Duraznos/root,evgeny-boger/root,abhinavmoudgil95/root,jrtomps/root,cxx-hep/root-cern,alexschlueter/cern-root,krafczyk/root,cxx-hep/root-cern,gbitzes/root,root-mirror/root,olifre/root,omazapa/root,kirbyherm/root-r-tools,sawenzel/root,smarinac/root,mkret2/root,davidlt/root,sbinet/cxx-root,georgtroska/root,0x0all/ROOT,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,jrtomps/root,krafczyk/root,georgtroska/root,omazapa/root-old,gganis/root,abhinavmoudgil95/root,Y--/root,root-mirror/root,mhuwiler/rootauto,lgiommi/root,evgeny-boger/root,lgiommi/root,davidlt/root,karies/root,zzxuanyuan/root,esakellari/root,Y--/root,Duraznos/root,mkret2/root,satyarth934/root,nilqed/root,0x0all/ROOT,mhuwiler/rootauto,krafczyk/root,abhinavmoudgil95/root,Y--/root,cxx-hep/root-cern,smarinac/root,krafczyk/root,veprbl/root,gganis/root,Y--/root,bbockelm/root,nilqed/root,simonpf/root,mattkretz/root,vukasinmilosevic/root,simonpf/root,vukasinmilosevic/root,esakellari/root,pspe/root,CristinaCristescu/root,nilqed/root,mattkretz/root,kirbyherm/root-r-tools,kirbyherm/root-r-tools,beniz/root,root-mirror/root,zzxuanyuan/root,jrtomps/root,simonpf/root,Y--/root,olifre/root,mattkretz/root,dfunke/root,thomaskeck/root,mhuwiler/rootauto,lgiommi/root,agarciamontoro/root,beniz/root,Y--/root,esakellari/my_root_for_test,zzxuanyuan/root-compressor-dummy,georgtroska/root,esakellari/my_root_for_test,tc3t/qoot,veprbl/root,omazapa/root,sirinath/root,jrtomps/root,cxx-hep/root-cern,zzxuanyuan/root,mattkretz/root,thomaskeck/root,Duraznos/root,zzxuanyuan/root-compressor-dummy,0x0all/ROOT,CristinaCristescu/root,karies/root,pspe/root,sbinet/cxx-root,root-mirror/root,buuck/root,veprbl/root,Dr15Jones/root,pspe/root,nilqed/root,BerserkerTroll/root,nilqed/root,satyarth934/root,veprbl/root,zzxuanyuan/root,root-mirror/root,evgeny-boger/root,omazapa/root-old,vukasinmilosevic/root,satyarth934/root,olifre/root,root-mirror/root,omazapa/root-old,beniz/root,omazapa/root,alexschlueter/cern-root,buuck/root,ffurano/root5,buuck/root,CristinaCristescu/root,BerserkerTroll/root,mkret2/root,omazapa/root,zzxuanyuan/root-compressor-dummy,gganis/root,mattkretz/root,lgiommi/root,davidlt/root,gganis/root,mkret2/root,veprbl/root,esakellari/root,karies/root,bbockelm/root,olifre/root,cxx-hep/root-cern,georgtroska/root,thomaskeck/root,esakellari/my_root_for_test,root-mirror/root,omazapa/root,veprbl/root,ffurano/root5,Dr15Jones/root,agarciamontoro/root,sawenzel/root,mkret2/root,esakellari/root,strykejern/TTreeReader,gganis/root,mkret2/root,dfunke/root,thomaskeck/root,esakellari/root,tc3t/qoot,zzxuanyuan/root-compressor-dummy,krafczyk/root,zzxuanyuan/root-compressor-dummy,esakellari/my_root_for_test,jrtomps/root,buuck/root,pspe/root,gbitzes/root,arch1tect0r/root,cxx-hep/root-cern,Duraznos/root,kirbyherm/root-r-tools,esakellari/root,georgtroska/root,mattkretz/root,buuck/root,pspe/root,BerserkerTroll/root,zzxuanyuan/root,gbitzes/root,thomaskeck/root,gganis/root,mkret2/root,nilqed/root,simonpf/root,gganis/root,omazapa/root-old,olifre/root,mattkretz/root,dfunke/root,krafczyk/root,zzxuanyuan/root,dfunke/root,gganis/root,jrtomps/root,veprbl/root,0x0all/ROOT,davidlt/root,gbitzes/root,zzxuanyuan/root,mkret2/root,olifre/root,davidlt/root,kirbyherm/root-r-tools,perovic/root,root-mirror/root,mhuwiler/rootauto,sirinath/root,krafczyk/root,krafczyk/root,abhinavmoudgil95/root,thomaskeck/root,vukasinmilosevic/root,buuck/root,nilqed/root,ffurano/root5,dfunke/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,zzxuanyuan/root,CristinaCristescu/root,sawenzel/root,lgiommi/root,agarciamontoro/root,lgiommi/root,omazapa/root,alexschlueter/cern-root,zzxuanyuan/root-compressor-dummy,dfunke/root