diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-08-09 12:04:19 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-08-10 12:09:10 +0200 |
commit | b85bf23fd8757b27177895a8472957a87cf23c4d (patch) | |
tree | fd9ee8dff760842f53013f5e9ff722e3cfe1b584 | |
parent | 0abcccc4aab4d893ac2a0ef116ff1f0c006fbc30 (diff) | |
download | mupdf-b85bf23fd8757b27177895a8472957a87cf23c4d.tar.xz |
FIXUP pdf_update_page: use JNI_FALSE
-rw-r--r-- | platform/java/mupdf_native.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c index 1af5cb1f..d88fe183 100644 --- a/platform/java/mupdf_native.c +++ b/platform/java/mupdf_native.c @@ -8766,9 +8766,9 @@ FUN(PDFPage_update)(JNIEnv *env, jobject self) { fz_context *ctx = get_context(env); pdf_page *page = from_PDFPage(env, self); - jboolean changed = 0; + jboolean changed = JNI_FALSE; - if (!ctx || !page) return 0; + if (!ctx || !page) return JNI_FALSE; fz_try(ctx) changed = pdf_update_page(ctx, page); @@ -9238,9 +9238,9 @@ FUN(PDFAnnotation_update)(JNIEnv *env, jobject self) { fz_context *ctx = get_context(env); pdf_annot *annot = from_PDFAnnotation(env, self); - jboolean changed = 0; + jboolean changed = JNI_FALSE; - if (!ctx || !annot) return 0; + if (!ctx || !annot) return JNI_FALSE; fz_try(ctx) changed = pdf_update_annot(ctx, annot); |