summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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 */