From Bertrand:  - solve a crash on Windows when trying to save a GIF file with more than 256 colors
From Bertrand:
 - solve a crash on Windows when trying to save a GIF file with more than
256 colors


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

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