summaryrefslogtreecommitdiff
path: root/source/fitz/halftone.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/fitz/halftone.c')
-rw-r--r--source/fitz/halftone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/halftone.c b/source/fitz/halftone.c
index 15aebead..26dbc941 100644
--- a/source/fitz/halftone.c
+++ b/source/fitz/halftone.c
@@ -158,7 +158,7 @@ static void do_threshold_1(unsigned char *ht_line, unsigned char *pixmap, unsign
}
while (--w);
if (bit != 0x80)
- *out++ = h;
+ *out = h;
}
fz_bitmap *fz_halftone_pixmap(fz_context *ctx, fz_pixmap *pix, fz_halftone *ht)