Skip to content

Commit

Permalink
Removed duplicate call to SetPixelRed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk committed Nov 3, 2014
1 parent b728247 commit 185b1c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions coders/psd.c
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,6 @@ static MagickStatusType ReadPSDChannelPixels(Image *image,
SetPixelRed(image,pixel,q);
if (channels == 1)
SetPixelGray(image,pixel,q);
else
SetPixelRed(image,pixel,q);
if (image->storage_class == PseudoClass)
{
if (packet_size == 1)
Expand Down

0 comments on commit 185b1c9

Please sign in to comment.