diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/tt_post.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/tt_post.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/tt_post.c b/Build/source/texk/dvipdfm-x/tt_post.c index 6382675f66f..5137311fe0d 100644 --- a/Build/source/texk/dvipdfm-x/tt_post.c +++ b/Build/source/texk/dvipdfm-x/tt_post.c @@ -174,7 +174,7 @@ tt_lookup_post_table (struct tt_post_table *post, const char *glyphname) char* tt_get_glyphname (struct tt_post_table *post, USHORT gid) { - if (gid < post->count) + if (gid < post->count && post->glyphNamePtr[gid]) return xstrdup(post->glyphNamePtr[gid]); return NULL; } |