diff options
Diffstat (limited to 'Build')
-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); |