summaryrefslogtreecommitdiff
path: root/lib/filters
diff options
context:
space:
mode:
authorMatthias Kramm <kramm@quiss.org>2011-09-20 12:51:08 -0700
committerMatthias Kramm <kramm@quiss.org>2011-09-20 12:51:08 -0700
commit4b6d6b957d4c4f62129dfcf8b799692e9af70bad (patch)
tree558a6469d40e6e5f73b51be01199d8b507319670 /lib/filters
parent2b589f7456cfe0fe965cae8b535fbc95c93fcdf3 (diff)
bugfix in rescale filter
Diffstat (limited to 'lib/filters')
-rw-r--r--lib/filters/rescale_images.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filters/rescale_images.c b/lib/filters/rescale_images.c
index 83b98e39..b7f29106 100644
--- a/lib/filters/rescale_images.c
+++ b/lib/filters/rescale_images.c
@@ -76,7 +76,7 @@ void rescale_images_fillbitmap(gfxfilter_t*dev, gfxline_t*line, gfximage_t*img,
m.m01 = (m.m01 * img->width) / new_width;
m.m10 = (m.m10 * img->height) / new_height;
m.m11 = (m.m11 * img->height) / new_height;
- out->fillbitmap(out, line, img, &m, cxform);
+ out->fillbitmap(out, line, new_image, &m, cxform);
gfximage_free(new_image);
} else {
out->fillbitmap(out, line, img, matrix, cxform);