From 7c6c6a58d58b7df384704e909d34e47454582c15 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 11 Nov 2016 13:17:02 +0000 Subject: API improvements. Add missing API comments. Move private definitions to implementation headers or C files. Move internal functions to implementation headers. --- source/tools/mudraw.c | 2 +- source/tools/muraster.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tools') 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) { -- cgit v1.2.3