From f4c38251868bbd7bb2995b5921615da83fae93e7 Mon Sep 17 00:00:00 2001 From: tTh Date: Thu, 15 Aug 2024 20:40:01 +0200 Subject: [PATCH] nice fail, bro --- Lib/foo.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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