Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 628188 | Differences between
and this patch

Collapse All | Expand All

(-)a/coders/sun.c (-1 / +3 lines)
Lines 1-5 Link Here
1
/*
1
/*
2
% Copyright (C) 2003-2015 GraphicsMagick Group
2
% Copyright (C) 2003-2017 GraphicsMagick Group
3
% Copyright (C) 2002 ImageMagick Studio
3
% Copyright (C) 2002 ImageMagick Studio
4
% Copyright 1991-1999 E. I. du Pont de Nemours and Company
4
% Copyright 1991-1999 E. I. du Pont de Nemours and Company
5
%
5
%
Lines 577-582 Link Here
577
          for (bit=7; bit >= 0; bit--)
577
          for (bit=7; bit >= 0; bit--)
578
            {
578
            {
579
              index=((*p) & (0x01 << bit) ? 0x01 : 0x00);
579
              index=((*p) & (0x01 << bit) ? 0x01 : 0x00);
580
              VerifyColormapIndex(image,index);
580
              indexes[x+7-bit]=index;
581
              indexes[x+7-bit]=index;
581
              q[x+7-bit]=image->colormap[index];
582
              q[x+7-bit]=image->colormap[index];
582
            }
583
            }
Lines 587-592 Link Here
587
            for (bit=7; bit >= (long) (8-(image->columns % 8)); bit--)
588
            for (bit=7; bit >= (long) (8-(image->columns % 8)); bit--)
588
              {
589
              {
589
                index=((*p) & (0x01 << bit) ? 0x01 : 0x00);
590
                index=((*p) & (0x01 << bit) ? 0x01 : 0x00);
591
                VerifyColormapIndex(image,index);
590
                indexes[x+7-bit]=index;
592
                indexes[x+7-bit]=index;
591
                q[x+7-bit]=image->colormap[index];
593
                q[x+7-bit]=image->colormap[index];
592
              }
594
              }

Return to bug 628188