From 8ca8070867365fbaf58321be2a13ea50bb5e60a6 Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Sat, 15 Feb 2014 00:41:01 -0800 Subject: [PATCH] Add comment about +1 --- lib/document.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/document.coffee b/lib/document.coffee index 18298a7..f986532 100644 --- a/lib/document.coffee +++ b/lib/document.coffee @@ -137,7 +137,7 @@ class PDFDocument ref.object @compress, (object) -> ref.offset = offset out.push object - offset += object.length + 1 + offset += object.length + 1 # plus one for newline proceed() else @xref_offset = offset