diff options
Diffstat (limited to 'examples_library/datebox.c')
-rw-r--r-- | examples_library/datebox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples_library/datebox.c b/examples_library/datebox.c index b74146b15f26..4839c3dbd895 100644 --- a/examples_library/datebox.c +++ b/examples_library/datebox.c @@ -30,7 +30,7 @@ int main() bsddialog_initconf(&conf); conf.title = "datebox"; - conf.hline = "Press TAB and arrows"; + conf.bottomtitle = "Press TAB and arrows"; if (bsddialog_init() < 0) return -1; @@ -40,13 +40,13 @@ int main() bsddialog_end(); switch (output) { - case BSDDIALOG_YESOK: + case BSDDIALOG_OK: printf("Date: %u/%u/%u", yy, mm, dd); break; case BSDDIALOG_ESC: printf("ESC\n"); break; - case BSDDIALOG_NOCANCEL: + case BSDDIALOG_CANCEL: printf("Cancel"); break; case BSDDIALOG_ERROR: |