diff --git a/Lib/foo.c b/Lib/foo.c index c492e0f..d7eebc4 100644 --- a/Lib/foo.c +++ b/Lib/foo.c @@ -15,9 +15,11 @@ * ix, iy: coordinate of the pixel in this pic. * op, ox, oy : same things for output picture */ -#define PIXEL_COPY(ip, ix, iy, op, ox, oy) \ - do { \ - \ +#define PIXEL_COPY(ip, ix, iy, op, ox, oy) \ + do { \ + op->Rpix[oy][x] = ip->Rpix[y][x]; \ + op->Gpix[oy][x] = ip->Gpix[y][x]; \ + op->Bpix[oy][x] = ip->Bpix[y][x]; \ } while (0) #define SZPIC 5777