From 6b10ce1ca93952276490636d6b84aff9bfc762f4 Mon Sep 17 00:00:00 2001 From: dteske Date: Mon, 22 Apr 2013 06:20:34 +0000 Subject: Fix a copy/paste error. --- usr.sbin/bsdconfig/share/dialog.subr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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} -- cgit v1.1