summaryrefslogtreecommitdiff
path: root/platform/java/mupdf_native.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/java/mupdf_native.c')
-rw-r--r--platform/java/mupdf_native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c
index a4136004..c45afcd9 100644
--- a/platform/java/mupdf_native.c
+++ b/platform/java/mupdf_native.c
@@ -5338,7 +5338,7 @@ FUN(Buffer_writeRune)(JNIEnv *env, jobject self, jint rune)
if (!ctx || !buf) return;
fz_try(ctx)
- fz_write_buffer_rune(ctx, buf, rune);
+ fz_append_rune(ctx, buf, rune);
fz_catch(ctx)
jni_rethrow(env, ctx);
}