summaryrefslogtreecommitdiff
path: root/platform/android/jni/mupdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/jni/mupdf.c')
-rw-r--r--platform/android/jni/mupdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/jni/mupdf.c b/platform/android/jni/mupdf.c
index 1cb50c54..d351ee6c 100644
--- a/platform/android/jni/mupdf.c
+++ b/platform/android/jni/mupdf.c
@@ -524,7 +524,7 @@ JNI_FN(MuPDFCore_fileFormatInternal)(JNIEnv * env, jobject thiz)
globals *glo = get_globals(env, thiz);
fz_context *ctx = glo->ctx;
- fz_meta(ctx, glo->doc, FZ_META_FORMAT_INFO, info, sizeof(info));
+ fz_lookup_metadata(ctx, glo->doc, FZ_META_FORMAT, info, sizeof(info));
return (*env)->NewStringUTF(env, info);
}