summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-01-11 23:27:22 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-11 23:27:22 +0100
commitaaf451799bb046b6758a73fdb3c8fb88692ac776 (patch)
tree13ede9863b14778c3e1feee9e9f2fa230842d6df /apps
parent209f30bee3121bbae32799b0bbb10f5e6db4158c (diff)
downloadmupdf-aaf451799bb046b6758a73fdb3c8fb88692ac776.tar.xz
Use enum for FZ_STORE_DEFAULT default size.
Diffstat (limited to 'apps')
-rw-r--r--apps/pdfclean.c2
-rw-r--r--apps/pdfdraw.c2
-rw-r--r--apps/pdfextract.c2
-rw-r--r--apps/pdfinfo.c2
-rw-r--r--apps/pdfshow.c2
-rw-r--r--apps/win_main.c2
-rw-r--r--apps/x11_main.c2
-rw-r--r--apps/xpsdraw.c2
8 files changed, 8 insertions, 8 deletions
diff --git a/apps/pdfclean.c b/apps/pdfclean.c
index 583da83f..0f3474ce 100644
--- a/apps/pdfclean.c
+++ b/apps/pdfclean.c
@@ -768,7 +768,7 @@ int main(int argc, char **argv)
if (argc - fz_optind > 0)
subset = 1;
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_UNLIMITED);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c
index b0ed7707..885103bc 100644
--- a/apps/pdfdraw.c
+++ b/apps/pdfdraw.c
@@ -408,7 +408,7 @@ int main(int argc, char **argv)
if (accelerate)
fz_accelerate();
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_DEFAULT);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");
diff --git a/apps/pdfextract.c b/apps/pdfextract.c
index ef8383ad..0e87cf9f 100644
--- a/apps/pdfextract.c
+++ b/apps/pdfextract.c
@@ -182,7 +182,7 @@ int main(int argc, char **argv)
infile = argv[fz_optind++];
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_UNLIMITED);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");
diff --git a/apps/pdfinfo.c b/apps/pdfinfo.c
index c0f5c6c6..a38e4f09 100644
--- a/apps/pdfinfo.c
+++ b/apps/pdfinfo.c
@@ -971,7 +971,7 @@ int main(int argc, char **argv)
if (fz_optind == argc)
infousage();
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_UNLIMITED);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");
diff --git a/apps/pdfshow.c b/apps/pdfshow.c
index ec2fedbd..a84e962b 100644
--- a/apps/pdfshow.c
+++ b/apps/pdfshow.c
@@ -198,7 +198,7 @@ int main(int argc, char **argv)
filename = argv[fz_optind++];
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_UNLIMITED);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");
diff --git a/apps/win_main.c b/apps/win_main.c
index a618cf44..8ccdee65 100644
--- a/apps/win_main.c
+++ b/apps/win_main.c
@@ -831,7 +831,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShow
fz_accelerate();
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_DEFAULT);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");
diff --git a/apps/x11_main.c b/apps/x11_main.c
index 45c6fc49..8ab20674 100644
--- a/apps/x11_main.c
+++ b/apps/x11_main.c
@@ -587,7 +587,7 @@ int main(int argc, char **argv)
struct timeval tmo;
struct timeval *timeout;
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_DEFAULT);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");
diff --git a/apps/xpsdraw.c b/apps/xpsdraw.c
index 8509605c..cbf7f802 100644
--- a/apps/xpsdraw.c
+++ b/apps/xpsdraw.c
@@ -319,7 +319,7 @@ int main(int argc, char **argv)
if (accelerate)
fz_accelerate();
- ctx = fz_new_context(NULL, 0);
+ ctx = fz_new_context(NULL, FZ_STORE_DEFAULT);
if (!ctx)
{
fprintf(stderr, "cannot initialise context\n");