diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/jni/mupdf.c | 4 | ||||
-rw-r--r-- | platform/ios/Classes/MuPageViewNormal.m | 4 | ||||
-rw-r--r-- | platform/x11/pdfapp.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/platform/android/jni/mupdf.c b/platform/android/jni/mupdf.c index 20026e81..72214597 100644 --- a/platform/android/jni/mupdf.c +++ b/platform/android/jni/mupdf.c @@ -2151,9 +2151,9 @@ JNI_FN(MuPDFCore_getFocusedWidgetChoiceOptions)(JNIEnv * env, jobject thiz) fz_var(opts); fz_try(ctx) { - nopts = pdf_choice_widget_options(ctx, idoc, focus, NULL); + nopts = pdf_choice_widget_options(ctx, idoc, focus, 0, NULL); opts = fz_malloc(ctx, nopts * sizeof(*opts)); - (void)pdf_choice_widget_options(ctx, idoc, focus, opts); + (void)pdf_choice_widget_options(ctx, idoc, focus, 0, opts); } fz_catch(ctx) { diff --git a/platform/ios/Classes/MuPageViewNormal.m b/platform/ios/Classes/MuPageViewNormal.m index 671702fe..429785fe 100644 --- a/platform/ios/Classes/MuPageViewNormal.m +++ b/platform/ios/Classes/MuPageViewNormal.m @@ -1301,9 +1301,9 @@ static void updatePixmap(fz_document *doc, fz_display_list *page_list, fz_displa case PDF_WIDGET_TYPE_LISTBOX: case PDF_WIDGET_TYPE_COMBOBOX: { - int nopts = pdf_choice_widget_options(ctx, idoc, focus, NULL); + int nopts = pdf_choice_widget_options(ctx, idoc, focus, 0, NULL); opts = fz_malloc(ctx, nopts * sizeof(*opts)); - (void)pdf_choice_widget_options(ctx, idoc, focus, opts); + (void)pdf_choice_widget_options(ctx, idoc, focus, 0, opts); NSMutableArray *arr = [[NSMutableArray arrayWithCapacity:nopts] retain]; for (int i = 0; i < nopts; i++) { diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index 006cba1b..5a036d04 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -1665,9 +1665,9 @@ void pdfapp_onmouse(pdfapp_t *app, int x, int y, int btn, int modifiers, int sta fz_try(ctx) { - nopts = pdf_choice_widget_options(ctx, idoc, widget, NULL); + nopts = pdf_choice_widget_options(ctx, idoc, widget, 0, NULL); opts = fz_malloc(ctx, nopts * sizeof(*opts)); - (void)pdf_choice_widget_options(ctx, idoc, widget, opts); + (void)pdf_choice_widget_options(ctx, idoc, widget, 0, opts); nvals = pdf_choice_widget_value(ctx, idoc, widget, NULL); vals = fz_malloc(ctx, MAX(nvals,nopts) * sizeof(*vals)); |