summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/win32/libmupdf.vcproj8
-rw-r--r--platform/win32/mutool.vcproj4
-rw-r--r--platform/x11/pdfapp.c2
3 files changed, 13 insertions, 1 deletions
diff --git a/platform/win32/libmupdf.vcproj b/platform/win32/libmupdf.vcproj
index 2b444ac6..0fdf568d 100644
--- a/platform/win32/libmupdf.vcproj
+++ b/platform/win32/libmupdf.vcproj
@@ -1238,6 +1238,14 @@
RelativePath="..\..\source\pdf\pdf-repair.c"
>
</File>
+ <File
+ RelativePath="..\..\source\pdf\pdf-resources.c"
+ >
+ </File>
+ <File
+ RelativePath="..\..\source\pdf\pdf-resources.c"
+ >
+ </File>
<File
RelativePath="..\..\source\pdf\pdf-run.c"
>
diff --git a/platform/win32/mutool.vcproj b/platform/win32/mutool.vcproj
index eec5372b..d3a30200 100644
--- a/platform/win32/mutool.vcproj
+++ b/platform/win32/mutool.vcproj
@@ -474,6 +474,10 @@
RelativePath="..\..\source\tools\pdfclean.c"
>
</File>
+ <File
+ RelativePath="..\..\source\tools\pdfcreate.c"
+ >
+ </File>
<File
RelativePath="..\..\source\tools\pdfextract.c"
>
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c
index 6b227ab3..0742d66b 100644
--- a/platform/x11/pdfapp.c
+++ b/platform/x11/pdfapp.c
@@ -255,7 +255,7 @@ static int make_fake_doc(pdfapp_t *app)
bounds.x1 = app->winw;
bounds.y1 = app->winh;
- newpage = pdf_create_page(ctx, pdf, bounds, 72, 0);
+ newpage = pdf_create_page(ctx, pdf, bounds, NULL, 0);
dev = pdf_page_write(ctx, pdf, newpage);