shithub: pdffs

Download patch

ref: 2d3fd9732381d95ebc7e6ba8e38dfa7addce77e3
parent: fd70297e5a82331a414700c657e879ca81c4cb7d
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Jun 2 12:01:04 EDT 2021

xref: missed a newline on error printing

--- a/xref.c
+++ b/xref.c
@@ -156,7 +156,7 @@
 	}
 	extra = Ssize(s) % (nxref*n);
 	if(extra != 0)
-		fprint(2, "extra %d bytes in xref stream", extra);
+		fprint(2, "extra %d bytes in xref stream\n", extra);
 
 	newnxref = pdf->nxref + nxref;
 	if((x = realloc(pdf->xref, newnxref*sizeof(Xref))) == nil)