summaryrefslogtreecommitdiff
path: root/source/fitz/halftone.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-04-24 16:36:46 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-04-27 15:12:03 +0200
commitce680b96e207c90429eb702c5ee4b9bec177fdfd (patch)
tree2794e8a3efc8ad08d5ca976db4adc3ef10c512a8 /source/fitz/halftone.c
parent9a725130b9b16daa332f8502e24eac9cab4cf9b2 (diff)
downloadmupdf-ce680b96e207c90429eb702c5ee4b9bec177fdfd.tar.xz
Typedef function pointers consistently.
Diffstat (limited to 'source/fitz/halftone.c')
-rw-r--r--source/fitz/halftone.c4
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");