summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
Diffstat (limited to 'fitz')
-rw-r--r--fitz/res_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index a0c2fc2a..c279c75b 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -56,7 +56,7 @@ fz_new_font(fz_context *ctx, char *name, int use_glyph_bbox, int glyph_count)
else
{
if (use_glyph_bbox)
- fz_warn(ctx, "not building glyph bbox table for font '%s' with %d glyphs", name, glyph_count);
+ fz_warn(ctx, "not building glyph bbox table for font '%s' with %d glyphs", font->name, glyph_count);
font->bbox_count = 0;
font->bbox_table = NULL;
}