easydialog: allow form fields input to grow up to 100 chars (Closes: #562249)
[matthijs/upstream/backupninja.git] / lib / easydialog.in
index c41e6f72dceba7c92087b626ed9945c2a41e0752..6b41e1beec2947b7abab199a9137b2c748f8a78b 100644 (file)
@@ -240,7 +240,7 @@ formDisplay() {
       for ((i=0; i < $_form_items ; i++)); do
          label=${_form_labels[$i]}
          text=${_form_text[$i]}
       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
          let "xpos += _form_gap"
       done
    ) | xargs $DIALOG 2> $temp