mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-04-18 22:46:49 +02:00
Add logging of when we are repairing the xref table.
This commit is contained in:
parent
49efd97cab
commit
0391df5bbd
@ -2218,6 +2218,9 @@ repair_xref(
|
||||
pdfio_obj_t *sobjs[16384]; // Object streams to load
|
||||
|
||||
|
||||
// Let caller know something is wrong...
|
||||
_pdfioFileError(pdf, "WARNING: Cross-reference table is damaged, attempting to rebuild.");
|
||||
|
||||
// Read from the beginning of the file, looking for
|
||||
if ((line_offset = _pdfioFileSeek(pdf, 0, SEEK_SET)) < 0)
|
||||
return (false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user