summaryrefslogtreecommitdiffstats
path: root/contrib/dialog/calendar.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-07-14 14:01:36 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-07-14 14:01:36 +0000
commit7c690c1aa838ce557a7140db128970d6149b34d6 (patch)
tree5205a5ffae5e2d9b6ee74c0df561f0dd164f7814 /contrib/dialog/calendar.c
parente54e39a5004441432886ee2a43973c797fafdfd8 (diff)
parent94f19e002939203294adf4d18b410183682bd2de (diff)
downloadFreeBSD-src-7c690c1aa838ce557a7140db128970d6149b34d6.zip
FreeBSD-src-7c690c1aa838ce557a7140db128970d6149b34d6.tar.gz
Update dialog to 1.1-20110707.
Diffstat (limited to 'contrib/dialog/calendar.c')
-rw-r--r--contrib/dialog/calendar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/dialog/calendar.c b/contrib/dialog/calendar.c
index 3958145..45a40ab 100644
--- a/contrib/dialog/calendar.c
+++ b/contrib/dialog/calendar.c
@@ -1,5 +1,5 @@
/*
- * $Id: calendar.c,v 1.60 2011/01/03 23:29:51 tom Exp $
+ * $Id: calendar.c,v 1.62 2011/06/29 09:47:06 tom Exp $
*
* calendar.c -- implements the calendar box
*
@@ -388,6 +388,7 @@ dialog_calendar(const char *title,
{
/* *INDENT-OFF* */
static DLG_KEYS_BINDING binding[] = {
+ HELPKEY_BINDINGS,
ENTERKEY_BINDINGS,
DLG_KEYS_DATA( DLGK_ENTER, ' ' ),
DLG_KEYS_DATA( DLGK_FIELD_NEXT, TAB ),
@@ -571,7 +572,7 @@ dialog_calendar(const char *title,
state = sYEAR;
break;
case DLGK_ENTER:
- result = dlg_ok_buttoncode(button);
+ result = dlg_enter_buttoncode(button);
break;
case DLGK_FIELD_PREV:
state = dlg_prev_ok_buttonindex(state, sMONTH);
OpenPOWER on IntegriCloud