summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/inputbox.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-11-18 01:02:42 +0000
committerache <ache@FreeBSD.org>1994-11-18 01:02:42 +0000
commit3a64b4bb5b7a0f1fdc549df45554da257c6f63f0 (patch)
tree3cf0f4d03f2bf8fc09740aacc3cbf5ab0ebfdf4f /gnu/lib/libdialog/inputbox.c
parent17db408558dd446a3ea986f312138f26779f5c02 (diff)
downloadFreeBSD-src-3a64b4bb5b7a0f1fdc549df45554da257c6f63f0.zip
FreeBSD-src-3a64b4bb5b7a0f1fdc549df45554da257c6f63f0.tar.gz
Add new parameter to line_edit: field length (-1 means unlimited)
Diffstat (limited to 'gnu/lib/libdialog/inputbox.c')
-rw-r--r--gnu/lib/libdialog/inputbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/inputbox.c b/gnu/lib/libdialog/inputbox.c
index a544ec0..b23f288 100644
--- a/gnu/lib/libdialog/inputbox.c
+++ b/gnu/lib/libdialog/inputbox.c
@@ -97,7 +97,7 @@ int dialog_inputbox(unsigned char *title, unsigned char *prompt, int height, int
while (key != ESC) {
if (button == -1) { /* Input box selected */
- key = line_edit(dialog, box_y, box_x, box_width, inputbox_attr, first, instr);
+ key = line_edit(dialog, box_y, box_x, -1, box_width, inputbox_attr, first, instr);
first = 0;
}
else
OpenPOWER on IntegriCloud