diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-05-26 04:55:48 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-05-26 04:55:48 +0000 |
commit | c4383680c5d2c9766477cf8faabfa021f280fc11 (patch) | |
tree | efbe92569058b681fbf67ab1a3765675a90ab360 /Build/source/texk/dvipdfm-x/truetype.c | |
parent | cfc780dee77501f8a72837c08c01719583bcdc67 (diff) |
Fix for compiler warnings. (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@51226 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/truetype.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/truetype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfm-x/truetype.c b/Build/source/texk/dvipdfm-x/truetype.c index 45b39159f80..6d48699da5e 100644 --- a/Build/source/texk/dvipdfm-x/truetype.c +++ b/Build/source/texk/dvipdfm-x/truetype.c @@ -1,6 +1,6 @@ /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. - Copyright (C) 2007-2018 by Jin-Hwan Cho and Shunsaku Hirata, + Copyright (C) 2007-2019 by Jin-Hwan Cho and Shunsaku Hirata, the dvipdfmx project team. This program is free software; you can redistribute it and/or modify @@ -129,7 +129,7 @@ pdf_font_open_truetype (pdf_font *font) length = tt_get_ps_fontname(sfont, fontname, 255); if (length < 1) { length = MIN(strlen(ident), 255); - strncpy(fontname, ident, length); + memcpy(fontname, ident, length); } fontname[length] = '\0'; for (n = 0; n < length; n++) { |