mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-08-29 15:22:06 +02:00
Initial unit tests for writing a PDF file.
This commit is contained in:
@@ -99,9 +99,10 @@ _pdfioFileFlush(pdfio_file_t *pdf) // I - PDF file
|
||||
return (false);
|
||||
|
||||
pdf->bufpos += pdf->bufptr - pdf->buffer;
|
||||
pdf->bufptr = pdf->buffer;
|
||||
}
|
||||
|
||||
pdf->bufptr = pdf->buffer;
|
||||
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user