From e5e3cb777043d6ec4759e9e24950123b70a377e5 Mon Sep 17 00:00:00 2001 From: Paul Gardiner Date: Thu, 20 Aug 2015 15:52:59 +0100 Subject: Ensure the unsaved signatures list is held in ascending order This is work towards bug #696123. It does not fix the bug because, in fact, saving multiple signatures in one go is not permitted (they need to use several incremental saves), but we may as well have the order correctly held. --- include/mupdf/pdf/document.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/mupdf/pdf/document.h b/include/mupdf/pdf/document.h index 8f2c6ef6..668a9d13 100644 --- a/include/mupdf/pdf/document.h +++ b/include/mupdf/pdf/document.h @@ -245,6 +245,7 @@ struct pdf_document_s int recalculating; int dirty; pdf_unsaved_sig *unsaved_sigs; + pdf_unsaved_sig **unsaved_sigs_end; void (*update_appearance)(fz_context *ctx, pdf_document *doc, pdf_annot *annot); -- cgit v1.2.3