From 6606cce4454fc040c60889db82c274704d840ec8 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 24 Dec 2009 16:57:31 +0100 Subject: [PATCH 1/1] easydialog: allow form fields input to grow up to 100 chars (Closes: #562249) --- ChangeLog | 3 +++ lib/easydialog.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4a4a3b1..9a6ccaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ version 0.9.7 -- UNRELEASED . add 'when = manual' option, that can be used in the global config file or in a given backup action file. Thanks Tuomas Jormola for the preliminary patch (Closes: #511299) + lib changes + easydialog: + . Allow form fields input to grow up to 100 chars (Closes: #562249) handler changes ldap: . Use gzip's --rsyncable option. diff --git a/lib/easydialog.in b/lib/easydialog.in index c41e6f7..6b41e1b 100644 --- a/lib/easydialog.in +++ b/lib/easydialog.in @@ -240,7 +240,7 @@ formDisplay() { for ((i=0; i < $_form_items ; i++)); do label=${_form_labels[$i]} text=${_form_text[$i]} - echo -n -e " $label $xpos 1 '$text' $xpos $max_length 30 30" + echo -n -e " $label $xpos 1 '$text' $xpos $max_length 30 100" let "xpos += _form_gap" done ) | xargs $DIALOG 2> $temp -- 2.30.2