diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-11-11 13:17:02 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-11-11 16:07:21 +0000 |
commit | 7c6c6a58d58b7df384704e909d34e47454582c15 (patch) | |
tree | 88bcca2f8293efbd9ce5d5d02c6c0bf7da1e4e05 /source/tools | |
parent | 099a0806ebc85632b96ff5e7f52306102b4a9791 (diff) | |
download | mupdf-7c6c6a58d58b7df384704e909d34e47454582c15.tar.xz |
API improvements.
Add missing API comments.
Move private definitions to implementation headers or C files.
Move internal functions to implementation headers.
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) { |