diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2002-06-13 23:39:35 +0000 |
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2002-06-13 23:39:35 +0000 |
| commit | ca2ca2ab60eb86c8831603d557ce375be5784673 (patch) | |
| tree | b01e62a1207877ae51334214c641b3bdfd16ebe2 /gnu/lib/libdialog | |
| parent | 7bc7869122f6638be6448e662d803d10331c09bf (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libdialog')
| -rw-r--r-- | gnu/lib/libdialog/textbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/textbox.c b/gnu/lib/libdialog/textbox.c index bfbf81bd3811..8c6e1a1d9b81 100644 --- a/gnu/lib/libdialog/textbox.c +++ b/gnu/lib/libdialog/textbox.c @@ -424,7 +424,7 @@ int dialog_textbox(unsigned char *title, unsigned char *file, int height, int wi delwin(dialog); free(buf); close(fd); - return -1; /* ESC pressed */ + return (key == ESC ? -1 : 0); } /* End of dialog_textbox() */ |
