summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/mudraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index 7d17336b..6c27fc28 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -910,7 +910,7 @@ static void dodrawpage(fz_context *ctx, fz_page *page, fz_display_list *list, in
if (output_format == OUT_PGM || output_format == OUT_PPM || output_format == OUT_PNM)
fz_write_pnm_band(ctx, out, pix->w, totalheight, pix->n, pix->alpha, pix->stride, band, drawheight, pix->samples);
else if (output_format == OUT_PAM)
- fz_write_pam_band(ctx, out, pix->w, totalheight, pix->n, pix->stride, band, drawheight, pix->samples);
+ fz_write_pam_band(ctx, out, pix->w, totalheight, pix->n, pix->alpha, pix->stride, band, drawheight, pix->samples);
else if (output_format == OUT_PNG)
fz_write_png_band(ctx, out, poc, pix->stride, band, drawheight, pix->samples);
else if (output_format == OUT_PWG)