summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-05-09 18:21:34 +0100
committerRobin Watts <robin.watts@artifex.com>2017-05-09 19:48:21 +0100
commita5b5171aefe2e3318792982a3bb2623b1e7b4149 (patch)
treef00141ca1e47abc584a7c618bc215fda136d67f3
parent181b2b135ce6527aa8a86da9bd0cdf41c2f68ca9 (diff)
downloadmupdf-a5b5171aefe2e3318792982a3bb2623b1e7b4149.tar.xz
Fix incorrect sa value passed in a plotter.
Should be 0..256 not 0..1
-rw-r--r--source/fitz/draw-paint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-paint.c b/source/fitz/draw-paint.c
index 4d5ed9d1..42a1543c 100644
--- a/source/fitz/draw-paint.c
+++ b/source/fitz/draw-paint.c
@@ -402,7 +402,7 @@ static void paint_solid_color_1_da(byte * restrict dp, int n, int w, const byte
static void paint_solid_color_0_da(byte * restrict dp, int n, int w, const byte * restrict color, int da)
{
TRACK_FN();
- template_solid_color_0_da(dp, w, 1);
+ template_solid_color_0_da(dp, w, 256);
}
#if FZ_PLOTTERS_RGB