diff options
Diffstat (limited to 'platform/x11')
-rw-r--r-- | platform/x11/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index 82c711dc..491167b2 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -173,7 +173,7 @@ static void event_cb(fz_context *ctx, pdf_document *doc, pdf_doc_event *event, v case PDF_DOCUMENT_EVENT_EXEC_MENU_ITEM: { - char *item = pdf_access_exec_menu_item_event(ctx, event); + const char *item = pdf_access_exec_menu_item_event(ctx, event); if (!strcmp(item, "Print")) winprint(app); |