diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2017-10-24 15:41:38 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-11-22 23:09:51 +0100 |
commit | f5ac2007f11147cdc59bd1a9a3f8d43d72690b2d (patch) | |
tree | 7d4a98bd54e6c8d3a5dd518cfc03a7a0650c927a /platform/java/mupdf_native.c | |
parent | 4dbc82dac40cc8fa4c97a9835e4c4b80a13f5dac (diff) | |
download | mupdf-f5ac2007f11147cdc59bd1a9a3f8d43d72690b2d.tar.xz |
jni: Return correct quadpoints coordinates.
Diffstat (limited to 'platform/java/mupdf_native.c')
-rw-r--r-- | platform/java/mupdf_native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c index 1845f4b9..4bf035ff 100644 --- a/platform/java/mupdf_native.c +++ b/platform/java/mupdf_native.c @@ -8403,7 +8403,7 @@ FUN(PDFAnnotation_setQuadPoints)(JNIEnv *env, jobject self, jobject jqps) if (m > 8) m = 8; - (*env)->GetFloatArrayRegion(env, jqp, i * 8, m, qp); + (*env)->GetFloatArrayRegion(env, jqp, 0, m, &qp[i * 8]); if ((*env)->ExceptionCheck(env)) return; if (m < 8) |