summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-02-09 10:11:52 +0000
committerRobin Watts <robin.watts@artifex.com>2012-02-09 10:11:52 +0000
commit3fff26e653b7c90e884fae449337766d3c2a309a (patch)
tree84a3aca1aea27591c5ddb3459b86c0c2de6eb929 /android
parentc07d0087384a45db43b6efd2f6808b31d2e60c59 (diff)
downloadmupdf-3fff26e653b7c90e884fae449337766d3c2a309a.tar.xz
Update ios and Android projects with locking changes.
I forgot to update Android and iOS projects with the extra arg to fz_new_context. Fixed here.
Diffstat (limited to 'android')
-rw-r--r--android/jni/mupdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/jni/mupdf.c b/android/jni/mupdf.c
index 8541dbfe..a1a82ca8 100644
--- a/android/jni/mupdf.c
+++ b/android/jni/mupdf.c
@@ -49,7 +49,7 @@ Java_com_artifex_mupdf_MuPDFCore_openFile(JNIEnv * env, jobject thiz, jstring jf
fz_accelerate();
/* 128 MB store for low memory devices. Tweak as necessary. */
- ctx = fz_new_context(NULL, 128 << 20);
+ ctx = fz_new_context(NULL, NULL, 128 << 20);
if (!ctx)
{
LOGE("Failed to initialise context");