summaryrefslogtreecommitdiff
path: root/source/fitz/font.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-01-04 12:17:39 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-01-05 14:47:37 +0100
commitef4897ce4c3c497179ff666745a75349600bf5f6 (patch)
treef2bc36fcec9975afcebc45ce4956ff2c5b669160 /source/fitz/font.c
parentd5394cbcf3a98dcabc49264172d4ce6618535d91 (diff)
downloadmupdf-ef4897ce4c3c497179ff666745a75349600bf5f6.tar.xz
Clarify snprintf length when printing to fz_buffer and fz_output.
The +1's for zero terminating bytes are not needed: printf to a fz_buffer or fz_output does not write a zero terminator. The extra code to add space for a zero terminator when calling snprintf internally are merely confusing.
Diffstat (limited to 'source/fitz/font.c')
0 files changed, 0 insertions, 0 deletions