Fix a copy/paste error.

This commit is contained in:
Devin Teske 2013-04-22 06:20:34 +00:00
parent 33a14d6fd2
commit a17c2d6e2b

View File

@ -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}