diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2010-11-13 00:44:12 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2010-11-13 00:44:12 +0000 |
commit | 1b920c3de84b188e008555411da364d15cac35ee (patch) | |
tree | 7da42cbdca66a0af8dcebd72db444c510cc01421 /Build/source | |
parent | 34c048d0e4db0f103ae2e5fc19e305a97877866b (diff) |
Change i<MAX_CHAR_CODE into i<=MAX_CHAR_CODE, because MAX_CHAR_CODE is 255 now.
git-svn-id: svn://tug.org/texlive/trunk@20426 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipsk/download.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipsk/download.c b/Build/source/texk/dvipsk/download.c index dcdc2063628..055b2705e64 100644 --- a/Build/source/texk/dvipsk/download.c +++ b/Build/source/texk/dvipsk/download.c @@ -356,7 +356,7 @@ static const char **getEncoding(char *encoding) { p->next = seenEncodings; seenEncodings = p; p->name = xstrdup(encoding); - p->glyphs = (const char **)mymalloc((MAX_CHAR_CODE+2) * sizeof(char *)); + p->glyphs = (const char **)mymalloc((MAX_CHAR_CODE+1) * sizeof(char *)); for (i=0; i<=MAX_CHAR_CODE; i++) p->glyphs[i] = ".notdef"; load_enc(encoding, p->glyphs); |