diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-10 15:47:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-10 15:47:35 +0000 |
commit | c77ea29c114bf7516a1bac9039f978fc5c7e05ea (patch) | |
tree | 81efa8028252543fb70b55e903e90acf0b7c1081 /Build/source/texk/dvipsk/afm2tfm.c | |
parent | 3eaf4cd28aefe899e49bf2d77bd4b81be8792e24 (diff) |
more snprintf
git-svn-id: svn://tug.org/texlive/trunk@18191 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/afm2tfm.c')
-rw-r--r-- | Build/source/texk/dvipsk/afm2tfm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/texk/dvipsk/afm2tfm.c b/Build/source/texk/dvipsk/afm2tfm.c index b2dc69ae1bf..7d05bf877f6 100644 --- a/Build/source/texk/dvipsk/afm2tfm.c +++ b/Build/source/texk/dvipsk/afm2tfm.c @@ -1247,19 +1247,19 @@ vright(void) int forceoctal = 0; -char vcharbuf[6]; +char vcharbuf[100]; static char * vchar(int c) { if (forceoctal == 0 && ISALNUM (c)) - (void) sprintf(vcharbuf,"C %c", + sprintf(vcharbuf,"C %c", #ifndef VMCMS c); #else ascii2ebcdic[c]); #endif - else (void) sprintf(vcharbuf,"O %o", (unsigned)c); - return (vcharbuf); + else sprintf(vcharbuf,"O %o", (unsigned)c); + return vcharbuf; } char vnamebuf[1000]; |