diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-04-11 17:07:59 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-04-11 17:07:59 +0200 |
commit | 914285f775944ea54ca708741eb58d020e2b1976 (patch) | |
tree | 219ee8fe1f05823ce06105cac02e62c9ebf9d887 /fitz/res_font.c | |
parent | 08251cb7666032cd610ee4bc9e34dd486f226a7a (diff) | |
download | mupdf-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.c | 2 |
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++) { |