diff options
author | dteske <dteske@FreeBSD.org> | 2013-04-22 06:20:34 +0000 |
---|---|---|
committer | dteske <dteske@FreeBSD.org> | 2013-04-22 06:20:34 +0000 |
commit | 6b10ce1ca93952276490636d6b84aff9bfc762f4 (patch) | |
tree | 0d0b796ec3a80a7cb584a36ca02af788eb4128ac /usr.sbin/bsdconfig/share | |
parent | bd5972fc3aab5f99ffee80b630a117e2530c15ae (diff) | |
download | FreeBSD-src-6b10ce1ca93952276490636d6b84aff9bfc762f4.zip FreeBSD-src-6b10ce1ca93952276490636d6b84aff9bfc762f4.tar.gz |
Fix a copy/paste error.
Diffstat (limited to 'usr.sbin/bsdconfig/share')
-rw-r--r-- | usr.sbin/bsdconfig/share/dialog.subr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdconfig/share/dialog.subr b/usr.sbin/bsdconfig/share/dialog.subr index 78286267..b9aa417 100644 --- a/usr.sbin/bsdconfig/share/dialog.subr +++ b/usr.sbin/bsdconfig/share/dialog.subr @@ -738,8 +738,8 @@ f_dialog_radiolist_size() # local longest_tag=0 longest_item=0 while [ $# -ge 2 ]; do - local tag="$1" item="$2" help="$3" - shift 3 # tag/item/status + local tag="$1" item="$2" + shift 2 # tag/item [ ${#tag} -gt $longest_tag ] && longest_tag=${#tag} [ ${#item} -gt $longest_item ] && longest_item=${#item} |