diff options
author | bapt <bapt@FreeBSD.org> | 2013-06-17 10:00:48 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-06-17 10:00:48 +0000 |
commit | 2b5579c9bdbbca29e7b2df1ee9a9e5d1cce2b06f (patch) | |
tree | d48b8f5f4c81e26e8dbb6597554286f1d6d53d3a /timebox.c | |
parent | a94245b3d36b447d1f761028da7e072210e64b43 (diff) | |
download | FreeBSD-src-2b5579c9bdbbca29e7b2df1ee9a9e5d1cce2b06f.zip FreeBSD-src-2b5579c9bdbbca29e7b2df1ee9a9e5d1cce2b06f.tar.gz |
Update dialog to 1.2-20130523
Diffstat (limited to 'timebox.c')
-rw-r--r-- | timebox.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,9 +1,9 @@ /* - * $Id: timebox.c,v 1.52 2012/07/02 09:34:04 tom Exp $ + * $Id: timebox.c,v 1.54 2013/03/17 15:03:41 tom Exp $ * * timebox.c -- implements the timebox dialog * - * Copyright 2001-2011,2012 Thomas E. Dickey + * Copyright 2001-2012,2013 Thomas E. Dickey * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License, version 2.1 @@ -41,8 +41,6 @@ typedef enum { struct _box; -typedef int (*BOX_DRAW) (struct _box *, struct tm *); - typedef struct _box { WINDOW *parent; WINDOW *window; @@ -414,6 +412,7 @@ dialog_timebox(const char *title, dlg_add_result(buffer); dlg_add_separator(); + dlg_add_last_key(-1); return CleanupResult(result, dialog, prompt, &save_vars); } |