diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-05-09 20:03:13 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-05-09 20:04:42 +0100 |
commit | 18379a77c87d00d04409ab780c45ba1fa1936da5 (patch) | |
tree | 984c2adbed85e75fbff6359699188523dbc37343 /source | |
parent | a5b5171aefe2e3318792982a3bb2623b1e7b4149 (diff) | |
download | mupdf-18379a77c87d00d04409ab780c45ba1fa1936da5.tar.xz |
Fix plotter bug.
We were passing in the wrong source alpha value in one of the
plotter calls. This is not a call used in our standard builds,
hence us not having seen the problem before.
Credit to Sebastian for spotting the problem and suggesting the
fix.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/draw-paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-paint.c b/source/fitz/draw-paint.c index 42a1543c..e86c3b71 100644 --- a/source/fitz/draw-paint.c +++ b/source/fitz/draw-paint.c @@ -461,7 +461,7 @@ static void paint_solid_color_N(byte * restrict dp, int n, int w, const byte * r static void paint_solid_color_N_da(byte * restrict dp, int n, int w, const byte * restrict color, int da) { TRACK_FN(); - template_solid_color_N_general(dp, n, w, color, 1, FZ_EXPAND(color[1])); + template_solid_color_N_general(dp, n, w, color, 1, FZ_EXPAND(color[n])); } #endif /* FZ_PLOTTERS_N */ |