summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/fitz/draw-blend.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/fitz/draw-blend.c b/source/fitz/draw-blend.c
index 6c2c58c7..6413dd7c 100644
--- a/source/fitz/draw-blend.c
+++ b/source/fitz/draw-blend.c
@@ -765,10 +765,7 @@ fz_blend_separable_nonisolated(byte * restrict bp, int bal, const byte * restric
if (ra0 != 0)
rc += fz_mul255(ra0, bc);
- if (complement)
- rc = ra - rc;
-
- bp[k] = rc;
+ bp[k] = ra - rc;
}
break;
}