diff options
Diffstat (limited to 'source/fitz/halftone.c')
-rw-r--r-- | source/fitz/halftone.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/halftone.c b/source/fitz/halftone.c index ff7e9cb1..65dbcf07 100644 --- a/source/fitz/halftone.c +++ b/source/fitz/halftone.c @@ -542,10 +542,10 @@ fz_bitmap *fz_new_bitmap_from_pixmap_band(fz_context *ctx, fz_pixmap *pix, fz_ha switch(n) { case 1: - thresh = &do_threshold_1; + thresh = do_threshold_1; break; case 4: - thresh = &do_threshold_4; + thresh = do_threshold_4; break; default: fz_throw(ctx, FZ_ERROR_GENERIC, "pixmap must be grayscale or CMYK to convert to bitmap"); |