summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorPaul Gardiner <paul.gardiner@artifex.com>2014-01-22 13:55:57 +0000
committerPaul Gardiner <paul.gardiner@artifex.com>2014-01-27 15:59:00 +0000
commit210ae39dfb7c6793482d92af5b88d335e4ef5f31 (patch)
tree729774c3fd06cbe44ec5e4f576617867c5f9e497 /platform
parent40488b4969ae4ae1f6ec72c6e1faa3a1e374b0a7 (diff)
downloadmupdf-210ae39dfb7c6793482d92af5b88d335e4ef5f31.tar.xz
Android: fix to account for document handlers
Diffstat (limited to 'platform')
-rw-r--r--platform/android/jni/mupdf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/jni/mupdf.c b/platform/android/jni/mupdf.c
index dcd84705..347c1a80 100644
--- a/platform/android/jni/mupdf.c
+++ b/platform/android/jni/mupdf.c
@@ -296,6 +296,8 @@ JNI_FN(MuPDFCore_openFile)(JNIEnv * env, jobject thiz, jstring jfilename)
return 0;
}
+ fz_register_document_handlers(ctx);
+
glo->doc = NULL;
fz_try(ctx)
{