diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-10-31 15:23:44 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-10-31 15:23:44 +0100 |
commit | a03b212d17b76a24aa452e85c4488490a6196dad (patch) | |
tree | f78e8a8433684fe61a6c8c610f8dd80da50ac34b /platform/android/viewer | |
parent | 6f5b0eb9d76b1213ec409b5b6fe44e7a87043e4f (diff) | |
download | mupdf-a03b212d17b76a24aa452e85c4488490a6196dad.tar.xz |
Fix android build.
Diffstat (limited to 'platform/android/viewer')
-rw-r--r-- | platform/android/viewer/jni/mupdf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/viewer/jni/mupdf.c b/platform/android/viewer/jni/mupdf.c index ba992a43..e7ef8f38 100644 --- a/platform/android/viewer/jni/mupdf.c +++ b/platform/android/viewer/jni/mupdf.c @@ -1869,11 +1869,11 @@ JNI_FN(MuPDFCore_getPageLinksInternal)(JNIEnv * env, jobject thiz, int pageNumbe fz_rect rect = link->rect; fz_transform_rect(&rect, &ctm); - if (!fz_is_external_link(ctx, link->uri)) + if (!fz_is_external_link(glo->ctx, link->uri)) { linkInfo = (*env)->NewObject(env, linkInfoInternalClass, ctorInternal, (float)rect.x0, (float)rect.y0, (float)rect.x1, (float)rect.y1, - fz_resolve_link(ctx, link->doc, link->uri)); + fz_resolve_link(glo->ctx, link->doc, link->uri)); } else { |