summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-04-11 17:07:59 +0200
committerTor Andersson <tor@ghostscript.com>2010-04-11 17:07:59 +0200
commit914285f775944ea54ca708741eb58d020e2b1976 (patch)
tree219ee8fe1f05823ce06105cac02e62c9ebf9d887 /fitz/res_font.c
parent08251cb7666032cd610ee4bc9e34dd486f226a7a (diff)
downloadmupdf-914285f775944ea54ca708741eb58d020e2b1976.tar.xz
Revert to using fitz string functions instead of non-standard libc variants.
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index ea8eec98..f56a1ac8 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -342,7 +342,7 @@ fz_newtype3font(char *name, fz_matrix matrix)
font->t3procs = fz_malloc(sizeof(fz_buffer*) * 256);
font->t3widths = fz_malloc(sizeof(float) * 256);
- strlcpy(font->name, name, sizeof(font->name));
+ fz_strlcpy(font->name, name, sizeof(font->name));
font->t3matrix = matrix;
for (i = 0; i < 256; i++)
{