projects
/
matthijs
/
upstream
/
backupninja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
easydialog: allow form fields input to grow up to 100 chars (Closes: #562249)
[matthijs/upstream/backupninja.git]
/
lib
/
easydialog.in
diff --git
a/lib/easydialog.in
b/lib/easydialog.in
index a0495a7846499499f2f3899d9886116c534aa044..6b41e1beec2947b7abab199a9137b2c748f8a78b 100644
(file)
--- a/
lib/easydialog.in
+++ b/
lib/easydialog.in
@@
-1,5
+1,6
@@
#!@BASH@
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
#!@BASH@
# -*- mode: sh; sh-basic-offset: 3; indent-tabs-mode: nil; -*-
+# vim: set filetype=sh sw=3 sts=3 expandtab autoindent:
# copyright 2002 lmoore@tump.com under the terms of the GNU LGPL.
# additions 2005 collective@riseup.net
# copyright 2002 lmoore@tump.com under the terms of the GNU LGPL.
# additions 2005 collective@riseup.net
@@
-239,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
3
0"
+ echo -n -e " $label $xpos 1 '$text' $xpos $max_length 30
10
0"
let "xpos += _form_gap"
done
) | xargs $DIALOG 2> $temp
let "xpos += _form_gap"
done
) | xargs $DIALOG 2> $temp