summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/bbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipsk/bbox.c')
-rw-r--r--Build/source/texk/dvipsk/bbox.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/bbox.c b/Build/source/texk/dvipsk/bbox.c
index 7eed278754a..64973259a75 100644
--- a/Build/source/texk/dvipsk/bbox.c
+++ b/Build/source/texk/dvipsk/bbox.c
@@ -118,8 +118,9 @@ bbtfmload(register fontdesctype *curfnt)
if (cd) chardat[i] = cd ;
}
if (font_level==1&&ncw!=0) {
- sprintf(errbuf, "Table size mismatch in %s", curfnt->name) ;
- error(errbuf) ;
+ char *msg = concat ("Table size mismatch in ", curfnt->name);
+ error(msg);
+ free(msg);
}
scaledsize = curfnt->scaledsize ;
scaled = (integer *) xmalloc((nh + nd)*sizeof(integer)) ;