aboutsummaryrefslogtreecommitdiff
path: root/examples_library/pause.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples_library/pause.c')
-rw-r--r--examples_library/pause.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples_library/pause.c b/examples_library/pause.c
index fa38120d989e..eb693325a18d 100644
--- a/examples_library/pause.c
+++ b/examples_library/pause.c
@@ -29,13 +29,13 @@ int main()
bsddialog_end();
switch (output) {
- case BSDDIALOG_YESOK:
+ case BSDDIALOG_OK:
printf("OK\n");
break;
case BSDDIALOG_ESC:
printf("ESC\n");
break;
- case BSDDIALOG_NOCANCEL:
+ case BSDDIALOG_CANCEL:
printf("Cancel\n");
break;
case BSDDIALOG_ERROR: