From f7ace61076d0ab3c71e1d2bd70967ddb0b86f220 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 19 Jun 2018 13:15:31 +0200 Subject: Keep copy of decoded utf8 text string in pdf_obj. Removes the need to alloc/free text strings in the API, allowing for simple functions like pdf_dict_get_text_string. --- platform/x11/jstest_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/x11/jstest_main.c') diff --git a/platform/x11/jstest_main.c b/platform/x11/jstest_main.c index 14577bd2..0c729b86 100644 --- a/platform/x11/jstest_main.c +++ b/platform/x11/jstest_main.c @@ -81,7 +81,7 @@ char *wintextinput(pdfapp_t *app, char *inittext, int retry) return inittext; } -int winchoiceinput(pdfapp_t *app, int nopts, char *opts[], int *nvals, char *vals[]) +int winchoiceinput(pdfapp_t *app, int nopts, const char *opts[], int *nvals, const char *vals[]) { return 0; } -- cgit v1.2.3