summaryrefslogtreecommitdiff
path: root/pdf/pdf_repair.c
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2012-08-02 15:32:33 +0100
committerPaul Gardiner <paulg.artifex@glidos.net>2012-08-02 15:32:33 +0100
commit8068b7ba7ac0f103f4770736518fe7e545ceba30 (patch)
tree1a59b6679afa111bbf61c57d60c873824d977636 /pdf/pdf_repair.c
parent201eeb77a65b25263daf8015746a0127692b87df (diff)
downloadmupdf-8068b7ba7ac0f103f4770736518fe7e545ceba30.tar.xz
Forms: add document dirty flag
Diffstat (limited to 'pdf/pdf_repair.c')
-rw-r--r--pdf/pdf_repair.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/pdf_repair.c b/pdf/pdf_repair.c
index 0874c2f8..bfbc581e 100644
--- a/pdf/pdf_repair.c
+++ b/pdf/pdf_repair.c
@@ -228,6 +228,8 @@ pdf_repair_xref(pdf_document *xref, pdf_lexbuf *buf)
fz_var(info);
fz_var(list);
+ xref->dirty = 1;
+
fz_seek(xref->file, 0, 0);
fz_try(ctx)