From a5b5171aefe2e3318792982a3bb2623b1e7b4149 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Tue, 9 May 2017 18:21:34 +0100 Subject: Fix incorrect sa value passed in a plotter. Should be 0..256 not 0..1 --- source/fitz/draw-paint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3