From: intrigeri Date: Thu, 24 Dec 2009 15:57:31 +0000 (+0100) Subject: easydialog: allow form fields input to grow up to 100 chars (Closes: #562249) X-Git-Tag: backupninja-0.9.7~27 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=6606cce4454fc040c60889db82c274704d840ec8;p=matthijs%2Fupstream%2Fbackupninja.git easydialog: allow form fields input to grow up to 100 chars (Closes: #562249) --- 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