aboutsummaryrefslogtreecommitdiff
path: root/examples_library/msgbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples_library/msgbox.c')
-rw-r--r--examples_library/msgbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples_library/msgbox.c b/examples_library/msgbox.c
index 92943d563b78..487266745c65 100644
--- a/examples_library/msgbox.c
+++ b/examples_library/msgbox.c
@@ -34,7 +34,7 @@ int main()
printf("User input: ");
switch (input) {
case BSDDIALOG_ERROR: printf("Error %s\n", bsddialog_geterror()); break;
- case BSDDIALOG_YESOK: printf("OK\n"); break;
+ case BSDDIALOG_OK: printf("OK\n"); break;
case BSDDIALOG_ESC: printf("ESC\n"); break;
}