Fix a copy/paste error.
This commit is contained in:
parent
33a14d6fd2
commit
a17c2d6e2b
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user