diff options
author | Karl Berry <karl@freefriends.org> | 2010-03-28 18:10:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-03-28 18:10:43 +0000 |
commit | 549a764cf19a1f244d773ab70965eadeef67d5a8 (patch) | |
tree | c90c4d213a075a429e17379467eac19282617252 /Build/source/texk/dvipsk/bbox.c | |
parent | 1cf5d119a011d9d22145848f7177f3124f7e776c (diff) |
dynamically concatenate more error strings
git-svn-id: svn://tug.org/texlive/trunk@17591 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/bbox.c')
-rw-r--r-- | Build/source/texk/dvipsk/bbox.c | 5 |
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)) ; |