diff options
Diffstat (limited to 'apps/jstest_main.c')
-rw-r--r-- | apps/jstest_main.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/jstest_main.c b/apps/jstest_main.c index 84d4dc9b..6c6a69b3 100644 --- a/apps/jstest_main.c +++ b/apps/jstest_main.c @@ -37,18 +37,18 @@ void winerror(pdfapp_t *app, char *msg) exit(1); } -void winalert(pdfapp_t *app, fz_alert_event *alert) +void winalert(pdfapp_t *app, pdf_alert_event *alert) { fprintf(stderr, "Alert %s: %s", alert->title, alert->message); switch (alert->button_group_type) { - case FZ_ALERT_BUTTON_GROUP_OK: - case FZ_ALERT_BUTTON_GROUP_OK_CANCEL: - alert->button_pressed = FZ_ALERT_BUTTON_OK; + case PDF_ALERT_BUTTON_GROUP_OK: + case PDF_ALERT_BUTTON_GROUP_OK_CANCEL: + alert->button_pressed = PDF_ALERT_BUTTON_OK; break; - case FZ_ALERT_BUTTON_GROUP_YES_NO: - case FZ_ALERT_BUTTON_GROUP_YES_NO_CANCEL: - alert->button_pressed = FZ_ALERT_BUTTON_YES; + case PDF_ALERT_BUTTON_GROUP_YES_NO: + case PDF_ALERT_BUTTON_GROUP_YES_NO_CANCEL: + alert->button_pressed = PDF_ALERT_BUTTON_YES; break; } } |