mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-07-18 23:09:49 +02:00
Fix bug with xref stream with no index.
Fix bug with pdfiOStreamPeek not appending new stream data to buffer. Add more debug printfs for values.
This commit is contained in:
@ -1229,7 +1229,7 @@ load_xref(pdfio_file_t *pdf, // I - PDF file
|
||||
if ((index_array = pdfioDictGetArray(trailer.value.dict, "Index")) != NULL)
|
||||
index_count = index_array->num_values;
|
||||
else
|
||||
index_count = 0;
|
||||
index_count = 1;
|
||||
|
||||
if ((w_array = pdfioDictGetArray(trailer.value.dict, "W")) == NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user