summaryrefslogtreecommitdiff
path: root/android/jni
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2013-04-29 11:55:34 +0100
committerRobin Watts <robin.watts@artifex.com>2013-04-29 12:04:49 +0100
commitae40ceccb46df6d45e45c40b27f426286a46a7e6 (patch)
treee6dc060a7b56fa6530c323486d7e93128a3f3b1e /android/jni
parent308e5c892acd4fd0e54dc8a61b997da1072e0871 (diff)
downloadmupdf-ae40ceccb46df6d45e45c40b27f426286a46a7e6.tar.xz
Android: Missed renaming of function.
We renamed fz_new_output_buffer to be fz_new_output_with_buffer, and missed the call from the Android specific source. Fixed here. Thanks to Philippe Le Becq for the report.
Diffstat (limited to 'android/jni')
-rw-r--r--android/jni/mupdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/jni/mupdf.c b/android/jni/mupdf.c
index 20d3a026..95d2e10a 100644
--- a/android/jni/mupdf.c
+++ b/android/jni/mupdf.c
@@ -1321,7 +1321,7 @@ JNI_FN(MuPDFCore_textAsHtml)(JNIEnv * env, jobject thiz)
fz_text_analysis(ctx, sheet, text);
buf = fz_new_buffer(ctx, 256);
- out = fz_new_output_buffer(ctx, buf);
+ out = fz_new_output_with_buffer(ctx, buf);
fz_printf(out, "<html>\n");
fz_printf(out, "<style>\n");
fz_printf(out, "body{margin:0;}\n");