From d5397344f05f5fb7bdf3fde0e5c397bdfcc30f4c Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 26 Sep 2008 18:03:16 +0000 Subject: [PATCH] fixed rescaling bug in fillgradient and addlink --- lib/devices/rescale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/devices/rescale.c b/lib/devices/rescale.c index 53d3623..e82aed6 100644 --- a/lib/devices/rescale.c +++ b/lib/devices/rescale.c @@ -211,7 +211,7 @@ void rescale_fillgradient(gfxdevice_t*dev, gfxline_t*line, gfxgradient_t*gradien { internal_t*i = (internal_t*)dev->internal; gfxline_t*line2 = transformgfxline(i, line); - i->out->fillgradient(i->out, line, gradient, type, matrix); + i->out->fillgradient(i->out, line2, gradient, type, matrix); gfxline_free(line2); } @@ -233,7 +233,7 @@ void rescale_drawlink(gfxdevice_t*dev, gfxline_t*line, const char*action) { internal_t*i = (internal_t*)dev->internal; gfxline_t*line2 = transformgfxline(i, line); - i->out->drawlink(i->out, line, action); + i->out->drawlink(i->out, line2, action); gfxline_free(line2); } -- 1.7.10.4