From 635c3c05dd64ec779ddfccab2f3ecce98d295446 Mon Sep 17 00:00:00 2001 From: Henrik Wallin <hedda@lysator.liu.se> Date: Wed, 25 Mar 1998 23:26:28 +0100 Subject: [PATCH] Apply_matrix now works with non-quadratic matrixes also. Rev: src/modules/Image/image.c:1.93 --- src/modules/Image/image.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/Image/image.c b/src/modules/Image/image.c index 1f03919ddd..283bd6fa2f 100644 --- a/src/modules/Image/image.c +++ b/src/modules/Image/image.c @@ -1,9 +1,9 @@ -/* $Id: image.c,v 1.92 1998/03/24 00:53:55 mirar Exp $ */ +/* $Id: image.c,v 1.93 1998/03/25 22:26:28 hedda Exp $ */ /* **! module Image **! note -**! $Id: image.c,v 1.92 1998/03/24 00:53:55 mirar Exp $ +**! $Id: image.c,v 1.93 1998/03/25 22:26:28 hedda Exp $ **! class image **! **! The main object of the <ref>Image</ref> module, this object @@ -82,7 +82,7 @@ #include "stralloc.h" #include "global.h" -RCSID("$Id: image.c,v 1.92 1998/03/24 00:53:55 mirar Exp $"); +RCSID("$Id: image.c,v 1.93 1998/03/25 22:26:28 hedda Exp $"); #include "pike_macros.h" #include "object.h" #include "constants.h" @@ -374,7 +374,7 @@ CHRONO("apply_matrix, one"); for (y=by; y<img->ysize-ey; y++) { - dp=d+y*img->xsize+by; + dp=d+y*img->xsize+bx; for (x=bx; x<img->xsize-ex; x++) { r=g=b=0; -- GitLab