diff options
Diffstat (limited to 'source/tools')
-rw-r--r-- | source/tools/mudraw.c | 2 | ||||
-rw-r--r-- | source/tools/muraster.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c index c9908906..470ff66d 100644 --- a/source/tools/mudraw.c +++ b/source/tools/mudraw.c @@ -575,7 +575,7 @@ static void drawband(fz_context *ctx, fz_page *page, fz_display_list *list, cons fz_unmultiply_pixmap(ctx, pix); if ((output_format == OUT_PCL && out_cs == CS_MONO) || (output_format == OUT_PBM) || (output_format == OUT_PKM)) - *bit = fz_new_bitmap_from_pixmap_band(ctx, pix, NULL, band_start, band_height); + *bit = fz_new_bitmap_from_pixmap_band(ctx, pix, NULL, band_start); } fz_catch(ctx) { diff --git a/source/tools/muraster.c b/source/tools/muraster.c index f08de504..ddb546b1 100644 --- a/source/tools/muraster.c +++ b/source/tools/muraster.c @@ -722,7 +722,7 @@ static int drawband(fz_context *ctx, fz_page *page, fz_display_list *list, const dev = NULL; if ((output_format == OUT_PBM) || (output_format == OUT_PKM)) - *bit = fz_new_bitmap_from_pixmap_band(ctx, pix, NULL, band_start, band_height); + *bit = fz_new_bitmap_from_pixmap_band(ctx, pix, NULL, band_start); } fz_catch(ctx) { |