diff options
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r-- | source/fitz/draw-device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 202e24dd..99032df9 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -577,6 +577,7 @@ draw_glyph(unsigned char *colorbv, fz_pixmap *dst, fz_glyph *glyph, fz_span_color_painter_t *fn; fn = fz_get_span_color_painter(dst->n, da, colorbv); + assert(fn); if (fn == NULL) return; while (h--) @@ -591,6 +592,7 @@ draw_glyph(unsigned char *colorbv, fz_pixmap *dst, fz_glyph *glyph, fz_span_painter_t *fn; fn = fz_get_span_painter(da, 1, 0, 255); + assert(fn); if (fn == NULL) return; while (h--) |