summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-03-24 11:54:30 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-03-24 11:54:30 +0000
commit727cc36d88b70bea622511decb72424804f86152 (patch)
tree3d8214c92b8799af05479c92b8cde3e6eb2991d7 /Build
parent311869640590373b97552dd2570111528ae4ba15 (diff)
web2c/mplibdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@40114 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/mplibdir/psout.w4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/mplibdir/psout.w b/Build/source/texk/web2c/mplibdir/psout.w
index 496f5681bca..265c42acc0a 100644
--- a/Build/source/texk/web2c/mplibdir/psout.w
+++ b/Build/source/texk/web2c/mplibdir/psout.w
@@ -2449,7 +2449,7 @@ static void t1_builtin_enc (MP mp) {
* At this moment "/Encoding" is the prefix of |mp->ps->t1_line_array|
*/
if (t1_suffix ("def")) { /* predefined encoding */
- (void)sscanf (mp->ps->t1_line_array + strlen ("/Encoding"), "%256s", mp->ps->t1_buf_array);
+ (void)sscanf (mp->ps->t1_line_array + strlen ("/Encoding"), "%255s", mp->ps->t1_buf_array);
if (strcmp (mp->ps->t1_buf_array, "StandardEncoding") == 0) {
for (i = 0; i < 256; i++) {
if (mp->ps->t1_builtin_glyph_names[i] != notdef)
@@ -2535,7 +2535,7 @@ static void t1_builtin_enc (MP mp) {
/*
check for `dup <index> <glyph> put'
*/
- if (sscanf (p, "dup %i%256s put", &i, mp->ps->t1_buf_array) == 2 &&
+ if (sscanf (p, "dup %i%255s put", &i, mp->ps->t1_buf_array) == 2 &&
*mp->ps->t1_buf_array == '/' && valid_code (i)) {
if (strcmp (mp->ps->t1_buf_array + 1, notdef) != 0) {
if (mp->ps->t1_builtin_glyph_names[i] != notdef)