summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/win32/libmupdf.vcproj8
-rw-r--r--platform/x11/pdfapp.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/platform/win32/libmupdf.vcproj b/platform/win32/libmupdf.vcproj
index 74f6df79..e8dc6fc6 100644
--- a/platform/win32/libmupdf.vcproj
+++ b/platform/win32/libmupdf.vcproj
@@ -434,6 +434,10 @@
>
</File>
<File
+ RelativePath="..\..\source\fitz\document-all.c"
+ >
+ </File>
+ <File
RelativePath="..\..\source\fitz\document.c"
>
</File>
@@ -989,6 +993,10 @@
>
</File>
<File
+ RelativePath="..\..\source\fitz\document-no-run.c"
+ >
+ </File>
+ <File
RelativePath="..\..\include\mupdf\fitz\document.h"
>
</File>
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c
index 10a44573..e9349526 100644
--- a/platform/x11/pdfapp.c
+++ b/platform/x11/pdfapp.c
@@ -192,6 +192,8 @@ void pdfapp_open_progressive(pdfapp_t *app, char *filename, int reload, int bps)
{
pdf_document *idoc;
+ fz_register_document_handlers(ctx);
+
#ifdef HAVE_CURL
if (!strncmp(filename, "http://", 7))
{