diff options
| author | Eric Melville <eric@FreeBSD.org> | 2001-08-12 22:48:02 +0000 |
|---|---|---|
| committer | Eric Melville <eric@FreeBSD.org> | 2001-08-12 22:48:02 +0000 |
| commit | 8f1d2ac37ac997960f196a1cd0c3abc70f522f83 (patch) | |
| tree | 21cb6f605bb4b37437ace1736b25a779439687b9 /gnu/lib/libdialog/msgbox.c | |
| parent | 6becea93b863d0ef6ec5fa081138e53fe19bc2bb (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libdialog/msgbox.c')
| -rw-r--r-- | gnu/lib/libdialog/msgbox.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/msgbox.c b/gnu/lib/libdialog/msgbox.c index a544652a356c..ac0e7e6fd4bc 100644 --- a/gnu/lib/libdialog/msgbox.c +++ b/gnu/lib/libdialog/msgbox.c @@ -18,6 +18,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifndef lint +static const char rcsid[] = + "$FreeBSD$"; +#endif #include <dialog.h> #include "dialog.priv.h" @@ -182,7 +186,7 @@ dialog_mesgbox(unsigned char *title, unsigned char *prompt, int height, int widt print_perc(dialog, height-3, width-9, (float) (startline+theight)/max_lines); wmove(dialog, height-2, width/2-3); wrefresh(dialog); - while ((key != ESC) && (key != '\n') && (key != '\r')) { + while ((key != ESC) && (key != '\n') && (key != '\r') && (key != ' ')) { key = wgetch(dialog); switch(key) { case KEY_HOME: |
