summaryrefslogtreecommitdiff
path: root/draw
diff options
context:
space:
mode:
Diffstat (limited to 'draw')
-rw-r--r--draw/imagedraw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/draw/imagedraw.c b/draw/imagedraw.c
index 08a6d785..dded3a57 100644
--- a/draw/imagedraw.c
+++ b/draw/imagedraw.c
@@ -207,9 +207,9 @@ static void img_4o4(FZ_PSRC, FZ_PDST, FZ_PCTM)
static void img_w4i1o4(byte *argb, FZ_PSRC, FZ_PDST, FZ_PCTM)
{
byte alpha = argb[0];
- byte r = argb[4];
- byte g = argb[5];
- byte b = argb[6];
+ byte r = argb[1];
+ byte g = argb[2];
+ byte b = argb[3];
byte cov;
byte ca;
while (h--)