]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 1 May 2011 02:13:45 +0000 (02:13 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 1 May 2011 02:13:45 +0000 (02:13 +0000)
magick/resize.c

index 0ed23546d61cbdffb2193118c115dccda1e6b94a..ad2f98149b500c670ee2a656a5e042db34714f80 100644 (file)
@@ -2491,7 +2491,8 @@ static MagickBooleanType VerticalFilter(const ResizeFilter *resize_filter,
             1.0)+0.5);
           j=(ssize_t) ((contribution[i-start].pixel-contribution[0].pixel)*
             image->columns+x);
-          SetIndexPixelComponent(resize_indexes+x,indexes+j);
+          SetIndexPixelComponent(resize_indexes+x,
+            GetIndexPixelComponent(indexes+j));
         }
       q++;
     }