summaryrefslogtreecommitdiff
path: root/fitz/base_context.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-06-29 17:32:59 +0100
committerRobin Watts <robin.watts@artifex.com>2012-07-04 10:50:54 +0100
commit05908e59a3db355cd8cbaab99406bb401d3afa2d (patch)
tree050c1c7835577e838b6a6d3286375f26225d0c22 /fitz/base_context.c
parent5a2689c657ecb282f322f5141c46c03d13a231ae (diff)
downloadmupdf-05908e59a3db355cd8cbaab99406bb401d3afa2d.tar.xz
Bug 693160: Fix bug in fz_write_buffer_bits.
When writing few enough bits that they would fit into the 'spare' bits in the last byte, I was failing to update the buffer. Also, I was failing to grow the buffer enough, and calculating the wrong number of bits left over in various places. Both fixed here. Thanks to Robert Jedrzejczyk and Sebras!
Diffstat (limited to 'fitz/base_context.c')
0 files changed, 0 insertions, 0 deletions